convert from Adobe RGB to some kind of linear RGB (and back)

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert from Adobe RGB to some kind of linear RGB (and b

Post by fmw42 »

nicolas wrote:Resampling in linear light gives darker halos. Resampling in a "perceptual space" gives lighter halos. So, pick a perceptual space which, in relation to linear light, is not "kinky", and blend the two results, using more perceptual where dark, and more linear where light. Blending is more accurate when both images are in the same color space. This is why everything is converted to linear light, if not already, just before blending. Linear light is a good friend of blending.
Thanks for the explanation. That makes sense now. Very clever. The best of both worlds!
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: convert from Adobe RGB to some kind of linear RGB (and b

Post by snibgo »

It's worth mentioning, if only to eliminate them as suspects:

- ProPhoto, which is gamma 1.8 with a straight-line portion. Boo hiss.
- scRGB which has the same gamma curve as sRGB. Boo hiss.
- Wide-gamut RGB which has the same gamma curve as AdobeRGB. This colorspace might be useful for this non-ringing purpose. See http://en.wikipedia.org/wiki/Wide_Gamut_RGB_color_space
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert from Adobe RGB to some kind of linear RGB (and b

Post by fmw42 »

Where can one download this Wide Gamut RGB profile?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: convert from Adobe RGB to some kind of linear RGB (and b

Post by snibgo »

I've made one from dcraw: WideGamutD65.icc, https://www.dropbox.com/s/498v05l3qghin ... 5.icc?dl=1
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert from Adobe RGB to some kind of linear RGB (and b

Post by fmw42 »

snibgo wrote:I've made one from dcraw: WideGamutD65.icc, https://www.dropbox.com/s/498v05l3qghin ... 5.icc?dl=1
Thanks.
Post Reply