if (REALLockPictureDescription(pic, &desc, pictureCGBitmapContext)) then the desc.depth is returning 0. Not sure what to say, but if you want to copy the desc.pictureData, you would want to have some idea of the size of the data. So we have to assume that the bytesPerRow is always 4*desc.width, which in the cocoa runtime is not necessarily the case.. inspect the TIFFRepresentation docs....
Alfred _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
