I'm doing a small program that show all the images of
a web page and lets you choose wich ones do you want
to choose.
My problem is that I would like to avoid having to
save the images in the HD in order to be able to use
the wxImage or wxBitmap contructor. Obviously it could
be easily done with temporal files but I would rather
only write to disk when saving. Is it possible to use
wxImage or wxBitmat from the string corresponding to
the image (the one I get from internet). I hope my
problem is clear.
Many thanks!!
Albert
···
__________________________________________________
Yahoo! Plus
For a better Internet experience http://www.yahoo.co.uk/btoffer
I'm doing a small program that show all the images of
a web page and lets you choose wich ones do you want
to choose.
My problem is that I would like to avoid having to
save the images in the HD in order to be able to use
the wxImage or wxBitmap contructor. Obviously it could
be easily done with temporal files but I would rather
only write to disk when saving. Is it possible to use
wxImage or wxBitmat from the string corresponding to
the image (the one I get from internet). I hope my
problem is clear.
Yep. See the wxImageFromStream sample in the demo.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!