c# - Convert Grayscale image into RGB with Magick.Net -


is possible convert image grayscale color space rgb using magick.net?

if is, has done? i've tried this:

image.format = magickformat.png; image.colorspace = imagemagick.colorspace.srgb; 

when setting values format , colorspace respectively persist in memory, once write method called gets reverted original values.

i'm wondering if needed perform transformation or along these lines, example when converting cmyk rgb 1 has this:

image.transformcolorspace(imagemagick.colorprofile.uswebcoatedswop, imagemagick.colorprofile.srgb); 

it looks me i'm missing obvious, it's hard find out there subject.


Comments

Popular posts from this blog

PHP while loop dynamic rowspan -

timer - Java TimerTask cancel -

android - How to read a column value in parse.com without accessing an object or a pointer -