I have some photos in sRGB color space and I would like to do some manipulations on them (resize, add border, overlay text, etc/pp) and print them on a CMYK printer when done.
In previous versions of IM, I've done it in this way:
Code: Select all
convert Fotos/DSC_0304.JPG \
-depth 16 -gamma 0.454545 \
-resample 600x600 \
-filter lanczos -resize 2000x1000 \
-do -some -more -operations \
-gamma 2.2 \
out.png
Code: Select all
$ convert Fotos/DSC_0304.JPG -depth 16 -gamma 0.454545 t.png; display t.png
display: Ignoring incorrect gAMA value .20661 when sRGB is also present `t.png' @ warning/png.c/MagickPNGWarningHandler/1777.