Hi James,

If setting the text or putting the data into an image object doesn't work, then 
the data is corrupt. What happens if you write the variable to a file and try 
to open it with an image editor?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
spaces. http://www.color-converter.com

On 28 jun 2012, at 18:05, James Hale wrote:

> I am extracting files from a zip archive directly into variables.
> Some of the files may be jpeg image files.
> How can I display these image files from the respective variables?
> 
> Here is what I have tried.
> I created an image object on my card and then tried to get it to display the 
> image that was extracted to the variable.
> Putting the variable into the image object doesn't seem to work.
> Setting the imagedata of the image object to the variable didn't work.
> Setting the text of the image object to the variable didn't work.
> 
> Am I wasting my time here in thinking the variable contains data I can use?
> Should I be extracting the image file from the archive to a file first and 
> then import it (or URL a bin file of it).
> 
> I wanted to avoid having to write a file and then read it in and then delete 
> it, if possible
> 
> James


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to