to exchange red and blue channel in an image file with imagemagick, I found this command
convert salle_test3.png -separate -swap 0,2 -set colorspace RGB -combine -set colorspace sRGB salle_test.png
The reason for specifying the colors pace is not clear to me. Not doing so however clearly changes the lightness of the image.
Aucun commentaire:
Enregistrer un commentaire