• 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: Setting DPI of image data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting DPI of image data


  • Subject: Re: Setting DPI of image data
  • From: Graham Cox <email@hidden>
  • Date: Sat, 12 Jul 2008 00:52:08 +1000

Thanks, that was the step I'd missed (sort of obvious in hindsight!).

Thanks also to Marcel who pointed out the same thing.

Graham


On 11 Jul 2008, at 7:13 pm, Heinrich Giesen wrote:


If you create image data of Type jpeg, tiff, png, etc from a sourceRep
(NSBitMapImageRep) with -representationUsingType:properties: these data
contain the number of pixels *and* the resolution of the sourceRep.
If you want a special resolution you have to set that value in the
sourceRep. But you can't set the resolution directly in NSBitMapImageRep
with something like -setResolutionX:resolutionY: You have to set the
size of the rep!
_______________________________________________

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


References: 
 >Re: Setting DPI of image data (From: Heinrich Giesen <email@hidden>)

  • Prev by Date: Re: Trashing files and undo
  • Next by Date: Re: Learning How to Program in Objective-C
  • Previous by thread: Re: Setting DPI of image data
  • Next by thread: How do I copy a view?
  • Index(es):
    • Date
    • Thread