• 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
Scale and convert image to JPEG using NSImage, NSImageRep, etc?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scale and convert image to JPEG using NSImage, NSImageRep, etc?


  • Subject: Scale and convert image to JPEG using NSImage, NSImageRep, etc?
  • From: Michael Rothwell <email@hidden>
  • Date: Sun, 21 Mar 2004 19:10:55 -0500

It there a Cocoa way to scale, say, a 100x100 pixel TIFF to 50x50
pixels, convert it to JPEG, and save it to a file?

things like setSize: seem to only change the display size, not cause
the image to actually re-scale.


Michael Rothwell
email@hidden
_______________________________________________
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: Scale and convert image to JPEG using NSImage, NSImageRep, etc?
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: Re: How about assembling and posting "Frequently Asked Questions"
  • Next by Date: [OT] Anti-FAQ (was: Re: Should I even bother)
  • Previous by thread: Re: NSTextView offset of text at top of view
  • Next by thread: Re: Scale and convert image to JPEG using NSImage, NSImageRep, etc?
  • Index(es):
    • Date
    • Thread