• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSImage from Palm Bitmap?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: NSImage from Palm Bitmap?
      • From: Dave Riggle <email@hidden>
References: 
 >Re: NSImage from Palm Bitmap? (From: John Randolph <email@hidden>)

  • Prev by Date: Re: Enough with the newbie C questions!
  • Next by Date: Re: Dragging to select rectangle
  • Previous by thread: Re: NSImage from Palm Bitmap?
  • Next by thread: Re: NSImage from Palm Bitmap?
  • Index(es):
    • Date
    • Thread