• 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
Resizing and NSImage to a new NSImage but keeping all metadata
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resizing and NSImage to a new NSImage but keeping all metadata


  • Subject: Resizing and NSImage to a new NSImage but keeping all metadata
  • From: Alexander Cohen <email@hidden>
  • Date: Mon, 30 Aug 2010 14:34:55 -0400

Hi,

I need to take an NSImage, scale it down a bit while drawing it into an new NSImage and all along keep all the metadata associated with the original image ( such as the color profile, etc, ... ). Are there any example out there that show how to do this.

I've tried creating a new NSImage of the correct size, adding a new bitmap rep to it ( that already has the copied metadata ) then drawing into that image but i always end up with an NSImage that does not have my bitmap rep in it anymore but only a CGImageCachedRep ( or somthing similar to that class name ) that does not contain the metadata anymore.

Any help appreciated.

thx

AC


_______________________________________________

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

  • Prev by Date: Re: Core Data search optimization
  • Next by Date: core data issues iOS 4.0.2
  • Previous by thread: Re: Style question
  • Next by thread: core data issues iOS 4.0.2
  • Index(es):
    • Date
    • Thread