I am going to assume you're talking about the RB Cocoa framework,
since I am unfamiliar with the Carbon stuff past some hand wavy "it
uses GWorlds, usually" statement. Here are how things work currently:

A REALbasic Picture object always operates on a CGBitmapContext and
then builds a CGImageRef from there when needed. So, even if you
create a Picture by loading a .pct file from disk, we end up doing
exactly the same thing. This means that REALLockPictureDescription
will only work for pictureCGBitmapContext.

Also, the fact that TIFFRepresentation doesn't work is most likely
related to a bug we fixed in 2011r1. What was happening is that
CGImageCreateWithMask was returning an image with an invalid data
source.

As for getting an actual PicHandle, I don't know. One thing you could
try is converting it to some external format like a TIFF and then try
using the old QuickTime graphics importer APIs.

Hopefully that helps some!

-- 
Joe Ranieri
Mac Frameworks & Compiler Engineer
REAL Software, Inc.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to