Trying to read PICT data using Quartz functions
Trying to read PICT data using Quartz functions
- Subject: Trying to read PICT data using Quartz functions
- From: Kenny Leung <email@hidden>
- Date: Fri, 21 Apr 2006 09:12:43 -0700
Hi All.
I have been uniformly unsuccessful in trying to read PICT data
embedded in a data file. I have the specs for the data file, so I'm
pretty sure I'm doing things right.
I have tried extracting the data and sending it to the functions
QDPictCreateWithProvider and CGImageCreateWithJPEGDataProvider, which
both return NULL. The PICT data seems to have all 0's in the
beginning and start with the PICT header code 0x001102FF at 0x60 into
the data. I have tried starting at 0 and at the PICT header and
neither have worked.
Does anyone have more experience with PICTs?
Thanks a lot!
-Kenny
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden