That was it, I zeroed to the data and it works
Thank you.
On May 31, 2010, at 2:34 PM, Greg Guerin wrote:
> Development wrote:
>
>> What I get is a black rectangle of scrambled colors and no discernible
>> resemblance to the page data.
>> ...
>> void * bitmapData = malloc(byteSize); ag
>
Development wrote:
What I get is a black rectangle of scrambled colors and no
discernible resemblance to the page data.
...
void * bitmapData = malloc(byteSize); ag
IIRC, malloc() does not initialize the returned memory. Since you
don't seem to do any other initialization, you ar
Wow I'm sorry I should have mentioned I'm doing this on iPhone
On May 31, 2010, at 11:11 AM, Development wrote:
> Ok... I'm really new to coregraphics and i've run in to a problem i cant seem
> to figure out.
> I'm trying to take page data from a pdf and draw a thumbnail size preview...
> I'm