JPEG images not loading

Malte Brill revolution at derbrill.de
Thu Dec 22 14:59:37 EST 2005


Hi Jeff,

> While experimenting with some stacks, I have noticed that when loading 
> an
> image into an image area, some jpeg images do not load.

  How have these images been generated?

> Is this supposed to happen? Is there a way of fixing this, or 
> detecting when
> an incompatible images are loaded so you can create a handler?


You can check the imagePixMapID of the image

if the imagePixMapID of img "myImage" is empty then
--image is broken
end if

Hope that helps,

Malte


-- 
ArcadeEngine - prepare to WOW your audience within minutes
http://www.runrev.com/section/revselect/arcadeengine
http://www.derbrill.com/arcadeengine/forum 




More information about the use-livecode mailing list