• 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
TIFFs and Resolution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TIFFs and Resolution


  • Subject: TIFFs and Resolution
  • From: Jeff LaMarche <email@hidden>
  • Date: Thu, 23 May 2002 00:24:55 -0700

I saw some old discussion about this, but never saw if it was a bug or misunderstanding
of the code (if it is, I share the misunderstanding)...

I have a BitmapImageRep that I've set the width and height to increase the
resolution of the picture. When I get a TIFFRepresentation of the image and
write it to a file c/o NSData's writeToFile:atomically: I always seem to end
up with a 72 dpi TIFF. I have tried approaching this from a number of different
angles - getting the TIFF data from the NSImage from the NSImageRep, but it
doesn't seem to matter what I set height and width to..

Is there an easy workaround to this - can I set the TIFF header values easily
to specify the resolution I want it opened at? Am I misunderstanding how
NSBitmapImageReps work?

Thanks!
- Jeff
_______________________________________________
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: TIFFs and Resolution
      • From: Ali Ozer <email@hidden>
  • Prev by Date: Re: File IO preventing sleep
  • Next by Date: Re: desktop picture
  • Previous by thread: Re: COCOA way
  • Next by thread: Re: TIFFs and Resolution
  • Index(es):
    • Date
    • Thread