Yeah, a lot of mails recently, and LockPictureDescription on a REALpicture (derived from a pct file) returns false for a PicHandle, so how would you go about that? Could you please specify, as I have done in my posts, to show me how to handle it as a picHandle anyway?
Alfred On Dec 20, 2010, at 11:37 AM, Christian Schmitz wrote: > On 20.12.2010, at 14:36, Alfred Van Hoek wrote: > >> What I am getting at is: >> >> 2) Make it simple, based on what is already available. Let us figure out >> whether we have to do with a PICT, a GWorld or a CGImageRef. We can do this >> for carbon, why not cocoa? > > Well, you do a lot of emails here recently. > > For my plugins I simply make a LockPictureDescription without type and check > the type and have my code working with the thing which is there. For Cocoa I > use the CGBitmapContextRef directly and if I'd get a PicHandle, I'd draw the > picture in a new picture to get a bitmap directly. > > PS: Ignore all the deprecations as long as they work and RS does not specify > the replacments. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
