• 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
NSBitmapImageRep with floating point values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBitmapImageRep with floating point values


  • Subject: NSBitmapImageRep with floating point values
  • From: Paul Morel <email@hidden>
  • Date: Thu, 3 Feb 2011 22:32:35 +0100
  • Importance: Normal

Hi,
in my application I would need to save an image where pixel intensities are floating point values. Apparently TIFF can support that.But I don't know I can do that in Objective-C. I saw that there is a bitmap format "NSFloatingPointSamplesBitmapFormat" that can be used. Does anybody knows how to use it? I tried to use a (float **) instead of (unsigned char **) but it doesn't work of course, because it is supposed to receive (unsigned char **)!
So if someone knows how to save floating point values in a image or knows how to use "NSFloatingPointSamplesBitmapFormat" to create a NSBitmapImageRep let me know!
Thanks,
Paul 		 	   		  _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSBitmapImageRep with floating point values
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Home-brewed code is 100X faster than -[NSScanner scanDecimal:] ??
  • Next by Date: Re: origin: lower left vs lower right
  • Previous by thread: Re: Smoothly decimating UIImageView images
  • Next by thread: Re: NSBitmapImageRep with floating point values
  • Index(es):
    • Date
    • Thread