• 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: Creating a bitmap of a scaled-down NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a bitmap of a scaled-down NSImage


  • Subject: Re: Creating a bitmap of a scaled-down NSImage
  • From: Nir Soffer <email@hidden>
  • Date: Tue, 27 Mar 2007 04:09:11 +0200


On Mar 27, 2007, at 03:39, John Stiles wrote:

I have an NSImage that has arrived from an external source that I don't directly control. I need to scale it down and rasterize it to an NSBitmapImageRep—the ultimate goal is to get it into an OpenGL texture, and we have maximum texture-size limits that I need to respect.

Use CoreImage - either CIAffineTransform (faster, lower quality) or CILanczosScaleTransform (slower, higher quality).



Best Regards,

Nir Soffer

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Creating a bitmap of a scaled-down NSImage
      • From: Nir Soffer <email@hidden>
    • Re: Creating a bitmap of a scaled-down NSImage
      • From: John Stiles <email@hidden>
References: 
 >Creating a bitmap of a scaled-down NSImage (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Creating a bitmap of a scaled-down NSImage
  • Next by Date: Re: Creating a bitmap of a scaled-down NSImage
  • Previous by thread: Re: Creating a bitmap of a scaled-down NSImage
  • Next by thread: Re: Creating a bitmap of a scaled-down NSImage
  • Index(es):
    • Date
    • Thread