I want to display Thumbnails of JPEGs.

As Image.Load(Path) and Picture.Load(Path) require a path, right now I do:
- extract the Thumbnail from JPEG with a SHELL command
- save it to disk as thumb_nnn.jpg
- read it again from disk with Image.Load(Path).

This is a complicated way and takes really long time if there are many JPEGs in 
a folder.

So I try to load the output of the SHELL command directly into an Image.
But then, Gambas says "Wanted Image, got String instead".
So, the output of the SHELL command comes in as a String.
What now?

Any way to convert this String into an Image?
Anybody any ideas?

Thanks, Matti

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to