Re: NSImage from Palm Bitmap?
Re: NSImage from Palm Bitmap?
- Subject: Re: NSImage from Palm Bitmap?
- From: "M. Uli Kusterer" <email@hidden>
- Date: Wed, 3 Sep 2003 23:09:04 +0200
At 15:03 Uhr -0700 02.09.2003, John Randolph wrote:
unsigned char *bits = (unsigned char *) bmp +
sizeof(PalmBitmapTypeV2_16);
Isn't the planes parameter expected to be an array of four
components, with unused ones set to NULL? I think the docs say
something like this...
Also, have you made sure that your palmBmp NSData object isn't
disposed? initWithBitmapDataPlanes doesn't copy your image data. It
uses the pointer you pass in.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.