On 7/31/06 8:31 PM, "Trevor DeVore" <lists (at) mangomultimedia D.O.T com> wrote:
>>> FYI - "imageData" is the visual representation of the image on >>> screen. The "text" of an image is the actual image format data (png, >>> jpeg, etc.). You probably want to store the image format data as >>> opposed to the imageData. >> >> We do not store format of picture. We just store JPG or TIFF itself >> and all >> other ADKs. Because it is possible recognize type of picture by its >> data. > > OK, if you are trying to store JPG data (or PNG, etc.) then you need > to get the text of the image. The imageData is NOT the raw image > data. It stores eachs pixels data as it is displayed on screen. > Each pixel being represented by 4 bytes (Alpha Red Green Blue).
Then it sounds just like a screen bitmap, i.e. DIB for window and PICT for MAC
Actually all other IDEs do the same: RB, Director, .. > put the text of img "pic" into dataPic
I still do not see
* why you think we need this text
* if data are in bitmap, then how it can be jpg or png
-- Best regards,
Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc
Valentina - Joining Worlds of Information http://www.paradigmasoft.com
[I feel the need: the need for speed]
_______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina
©2006 Ruslan Zasukhin |