• 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: Fastest way to resize an image?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fastest way to resize an image?


  • Subject: Re: Fastest way to resize an image?
  • From: Randall Meadows <email@hidden>
  • Date: Thu, 20 Nov 2008 10:23:02 -0700

On Nov 19, 2008, at 11:51 PM, Ken Ferry wrote:

however I found out that just using the setSize: method of NSImage was unreliable
-[NSImage setSize:] doesn't change the pixels of an image, it changes
the natural size that the image is drawn at.  If you try to write the
NSImage back out as a TIFF, say, then what you've done is modify the
DPI.

Does setting -setScalesWhenResized: appropriately help in this situation?
_______________________________________________


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: Fastest way to resize an image?
      • From: Jean-Nicolas Jolivet <email@hidden>
References: 
 >Fastest way to resize an image? (From: Jean-Nicolas Jolivet <email@hidden>)
 >Re: Fastest way to resize an image? (From: "Ken Ferry" <email@hidden>)

  • Prev by Date: Re: Wrapping C functions in Objective C proxy objects: naming convention?
  • Next by Date: Forcing toolbar validation...
  • Previous by thread: Re: Fastest way to resize an image?
  • Next by thread: Re: Fastest way to resize an image?
  • Index(es):
    • Date
    • Thread