• 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
A question about [bitmapImageRep bitmapData]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A question about [bitmapImageRep bitmapData]


  • Subject: A question about [bitmapImageRep bitmapData]
  • From: "Brian O'Brien" <email@hidden>
  • Date: Fri, 30 Jul 2004 13:30:51 -0600

2004-07-30 13:26:53.628 OpticFlow[11258] bitmaptImageRep NSCachedImageRep 0x310810 Size={93, 87} ColorSpace=NSCalibratedWhiteColorSpace BPS=8 Pixels=93x87 Alpha=NO
2004-07-30 13:26:53.628 OpticFlow[11258] *** -[NSCachedImageRep bitmapData]: selector not recognized

Why is it that bitmapData is not recognized for this image yet it is for this image?

2004-07-30 13:28:12.526 OpticFlow[11258] bitmaptImageRep NSBitmapImageRep 0x3a18f0 Size={3072, 2048} ColorSpace=NSCalibratedRGBColorSpace BPS=8 Pixels=3072x2048

What have I misunderstood?

I'm trying to get the address of the images pixels...
Seems to work for some images but not for others....

Must I put some tests in the code to determine an images type before I can get the pointer to the data?

Thanks,
Brian.
_______________________________________________
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: A question about [bitmapImageRep bitmapData]
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Networking in cocoa
  • Next by Date: Re: The problem with bindings
  • Previous by thread: Re: Networking in cocoa
  • Next by thread: Re: A question about [bitmapImageRep bitmapData]
  • Index(es):
    • Date
    • Thread