image data

Trevor DeVore lists at mangomultimedia.com
Tue Apr 10 12:51:15 EDT 2007


On Apr 10, 2007, at 3:44 AM, Chipp Walters wrote:

> Just to be clear. The imageData property is different from the text of
> an image. You can manipulate the imageData, but AFAIK you cannot
> manipulate the bytes of the text of an image (or at least last I heard
> no one has figured out how to).
>
> The text of an image contains the transparency and the RGB of the
> image. I also think it contains the type of image as well (PNG, JPG,
> BMP, GIF, etc.)

The "text" of the image is the actual image data as you would find  
stored in a file on disk. So if you need to save an image to disk and  
open it in Photoshop you could store the "text" of the image to a file:

put the text of image "MyImage" into URL ("binfile:/Users/Mr User/ 
desktop/my image.png")

The imageData is the data that is displayed on the screen.

-- 
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com
trevor at bluemangolearning.com





More information about the use-livecode mailing list