You are not logged in.
As the title hints, I simply which to do two colorspace conversions.
The step first is simple and works:
convert test.jpg -colorspace Gray gray_test.jpgThe second second step also seemed somewhat simple, but does not work.
convert gray_test.jpg -channel G -separate green_test.jpgObviously gray_test.jpg is not RGB, so it does make some sense, so I tried converting it to RGB, before applying step two.
convert gray_test.jpg -set colorspace RGB gray_rgb_test.jpgHowever, this didn't solve the problem either. I've also tried a number of things that quite frankly didn't make sense, so I won't list those. In the end those, I'm still at a standstill and as I'm now sure to have the Google logo permanently imprinted on my retina, I thought I'd ask on my favorite forum.
Best regards.
Last edited by zacariaz (2015-06-24 22:38:30)
I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.
Offline
What you want to do is equivalent to converting to greyscale and then coloring the image green (e.g. via overlay). This should do what you want, with the ability to convert to any color you like:
convert test.jpg -colorspace Gray +level-colors ,'#00ff00' green_test.jpgMore info: http://www.imagemagick.org/Usage/color_ … vel-colors
And please use code tags next time.
Moving to Multimedia & Games.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
What you want to do is equivalent to converting to greyscale and then coloring the image green (e.g. via overlay). This should do what you want, with the ability to convert to any color you like:
convert test.jpg -colorspace Gray +level-colors ,'#00ff00' green_test.jpgMore info: http://www.imagemagick.org/Usage/color_ … vel-colors
And please use code tags next time.
Moving to Multimedia & Games.
That's perfect, and even more so because it also solves a problem I haven't even mentioned, mainly converting to darker shade, if that's the right terminology.
Thanks!
I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.
Offline