Can we create images on the fly?

92 views
Skip to first unread message

David Roundy

unread,
Feb 12, 2014, 10:23:24 AM2/12/14
to gowebui...@googlegroups.com
Hello,

I would be interested in creating an app that generates images on the fly (of type image.Image) and then uses them as elements in the GUI.  It doesn't look like the gwu.Image type will support this usage, which seems pretty valuable to me.  Would this be easy to add, or is there a nice mechanism already in place to do what I want (which is to say, to generate an image and then display it)?

David

András Belicza

unread,
Feb 12, 2014, 5:46:27 PM2/12/14
to David Roundy, gowebui...@googlegroups.com
Well, it's not supported directly, but you can easily achieve this if you register an http handler func which serves your image and you change the gowut Image component's URL to address your handler func.
Reply all
Reply to author
Forward
0 new messages