Colorspace conversion

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
Davide
Posts: 2
Joined: 2014-02-12T13:52:37-07:00
Authentication code: 6789

Colorspace conversion

Post by Davide » 2014-02-12T17:25:18-07:00

I've found that Magick++ uses linear color spaces by default. How can I convert an RGB Image into R'G'B' ?

I imagine the relation between the color spaces is v' = √(v * max(v)), v ∈ RGB, v' ∈ R'G'B'. But is there a straightforward function ready to do the conversion?

Post Reply