Search found 5 matches
- 2012-08-15T03:01:25-07:00
- Forum: Developers
- Topic: Suggestion: HCL -> RGB conversion enhancement
- Replies: 1
- Views: 8998
Suggestion: HCL -> RGB conversion enhancement
related to http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=21646 Since HCL colorspace is wider than RGB, we should choose a saturation strategy when converting into RGB colorspace. Existing code simply clamps into [0, 1], not so bad. But it's more useful if hue and luma are preserved ...
- 2012-08-14T13:15:48-07:00
- Forum: Developers
- Topic: Why Colorize/Hue/Saturation/Luminize operators HSB-based?
- Replies: 7
- Views: 23472
Re: Why Colorize/Hue/Saturation/Luminize operators HSB-based
ConvertRGBToHCL()/ConvertHCLToRGB() doesn't work correctly! I myself tried to replace the composite code with HCL version, then referring gem.c to copy & paste, and found it. Here is a patch for branches/ImageMagick-6. I've not checked trunk yet. --- a/magick/gem.c +++ b/magick/gem.c @@ -142,5 +142 ...
- 2012-08-14T13:14:23-07:00
- Forum: Bugs
- Topic: RGB <-> HCL conversion not correct
- Replies: 1
- Views: 4521
RGB <-> HCL conversion not correct
branches/ImageMagick-6 Recently added HCL support routines, ConverRGBToHCL() and ConvertHCLToRGB() in gem.c, will be fixed by a patch I posted with http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=21646 . It fixes: RGB -> HCL: Wrong hue will be returned if g < b < r. HCL -> RGB ...
- 2012-08-14T02:45:48-07:00
- Forum: Developers
- Topic: Why Colorize/Hue/Saturation/Luminize operators HSB-based?
- Replies: 7
- Views: 23472
Re: Why Colorize/Hue/Saturation/Luminize operators HSB-based
I got branches/ImageMagick-6 @ r8922-r8923, working well. Thank you, but... It's hard for me to say, now I know that it's better to use HCL from the point of view of Photoshop compatibility. As of yesterday, I never believed ImageMagick supported HCL... I sat down and explored the Subversion ...
- 2012-08-13T05:22:08-07:00
- Forum: Developers
- Topic: Why Colorize/Hue/Saturation/Luminize operators HSB-based?
- Replies: 7
- Views: 23472
Why Colorize/Hue/Saturation/Luminize operators HSB-based?
I want HueHSL/SaturationHSL/ColorizeHSL/LuminizeHSL composite operators. Are there any answers or suggestions? I utilize ImageMagick to process a lot of PSD files created by various tools, mostly Adobe Photoshop series. Adobe Photoshop has non-RGB-based (nor CMY-based) blending modes i.e. hue ...