On Jul 13, 2006, at 2:13 PM, Björn Eiríksson wrote:
You need to poke around, first check the pictureType field to see
what type of picture the REALbasic picture actually has.
If the type is pictureMacintoshGWorld (assuming you are one a Mac)
then you can safely assume that the pictureData contains GWorld, if
not then you need to take some steps to convert the picture, or
read it as PicHandle or IconHandle.
On Windows you are either dealing with a DIB or HBITMAP (again you
have to check each time)
On Linux you get GdkPixmap (always)
So in other words, you always have to have platform specific code to
read/write the pixel data... there is no generic XRGB bitmap format,
right?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>