Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Hi, I'm using ImageMagick to copy some images and add text to them.
The problem is that I want to make a solid, not transparent white text. What I get is something different.
bg.tif - Base image. Making an empty image using IM cause the copied image to become lighter. Maybe it's a problem with semi-transparency too? u.tif The image which is copied many times and which is a background for the text.
Additonally, here are the saving settings:
The color space off all images is Euroscale Coated v2.
IM cannot add text in CMYK space (it does not process colors properly). You need to convert to sRGB, then add text and then convert back to CMYK if you really need to do the latter. This works perfectly fine for me in command line IM 6.8.9.8 Q16 Mac OSX
convert u2.tif -profile /users/fred/images/profiles/sRGB.icc -fill white -font Verdana -pointsize 100 -gravity center -annotate +0+0 "Marcin" result.png
Also png does not support cmyk, so if you really need cmyk for the output, you will need to save as tif or jpg.
Yes, I need it in CMYK because the images will be printed so the color space is important.
For now I found a dirty workaround which have a second one workaround inside. Speaking short: rendering black text work good so I'm making a black text on a transparent background and then I'm using it as a mask on a white background to cut off the white letters.
I don't know if I have enough energy to rework it now Yes, I'm losing the font smoothness, but the image is in 300ppi, so after printing it should look good.