• 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
bitmapImageRepByConvertingToColorSpace on the fly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bitmapImageRepByConvertingToColorSpace on the fly


  • Subject: bitmapImageRepByConvertingToColorSpace on the fly
  • From: Leonardo <email@hidden>
  • Date: Wed, 12 Mar 2014 22:13:12 +0100
  • Thread-topic: bitmapImageRepByConvertingToColorSpace on the fly

Hi, I properly draw an imageRep within a NSView using

[rep drawInRect:inRect fromRect:fromRect operation:NSCompositeSourceOver
fraction:1.0  respectFlipped:YES hints:nil];

Now I would like to simulate the result of adopting a given ICC color
profile. So, if for instance I choose a gray profile I see all the images
grayed out. I have been successfully using

    bitmapImageRepByConvertingToColorSpace:

and I get the right result. When I change the profile I rebuild my
representation, the I always use that.
Anyway, when I have several images on the page, it takes a long long time.
So, I would like to know whether there is a way to get the same result just
modifying the profile on the NSView's context, e.g. in the NSView's
drawRect: method or applying a CIFilter, if that will not slow down the
rendering speed. Any way?


Regards
-- Leonardo


_______________________________________________

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: bitmapImageRepByConvertingToColorSpace on the fly
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: bouncing icon in dock
  • Next by Date: Re: bitmapImageRepByConvertingToColorSpace on the fly
  • Previous by thread: Re: bouncing icon in dock
  • Next by thread: Re: bitmapImageRepByConvertingToColorSpace on the fly
  • Index(es):
    • Date
    • Thread