Colorspace separate and combine - odd results
Posted: 2011-04-15T05:39:43-07:00
When I run this simple command to test that a "no-operation" channel separation and re-combination works as expected:
convert logo: -colorspace rgb -separate -colorspace rgb -combine -colorspace rgb miff:- | display miff:-
- all is well, the output looks the same as the input. But if I change the colorspace to any other color type:
convert logo: -colorspace hsb -separate -colorspace hsb -combine -colorspace rgb miff:- | display miff:-
-the output is not the same as input. Most disappointing are HSB and HSL that return a very dark image. I was hoping to use them to work on the saturation channel, but it's impossible to work with.
I'm still using 6.6.3 and haven't seen anything in the changelog to suggest newer versions behave any different.
convert logo: -colorspace rgb -separate -colorspace rgb -combine -colorspace rgb miff:- | display miff:-
- all is well, the output looks the same as the input. But if I change the colorspace to any other color type:
convert logo: -colorspace hsb -separate -colorspace hsb -combine -colorspace rgb miff:- | display miff:-
-the output is not the same as input. Most disappointing are HSB and HSL that return a very dark image. I was hoping to use them to work on the saturation channel, but it's impossible to work with.
I'm still using 6.6.3 and haven't seen anything in the changelog to suggest newer versions behave any different.