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?".
try adding -strokewidth 0 and see if that helps (not sure if that works with label:), but you could try using either -annotate or -draw and see if they do what you want.
fmw42 wrote:try adding -strokewidth 0 and see if that helps (not sure if that works with label:), but you could try using either -annotate or -draw and see if they do what you want.
Thanks for the tip, but unfortunately "-strokewidth 0" didnt do any change to the text even with or without "-stroke #000000". Also i've tried -draw but didnt work with that.
I thought that maybe it could be "-style", "-weight" or "-stretch" but when i looked fast at them it didnt do any change. Maybe i'm doing something wrong...
[EDIT] ERK - no it doesn't. There's a few bits missing. I'll play with it some more.[/EDIT]
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
Is it possible that PS and IM are using two different fonts, even if named the same? Perhaps PS has its own imbedded fonts? Or they are the same named fonts but slightly different versions and are in different directories.
anthony wrote:I think the real difference is in the selection of the font.
You can get fonts that are designed to be a 'bitmap' when drawn. That is no anti-aliasing pixels included.
It really depends on what you mean by 'crisp'.
Oh ok, so photoshop uses a different font than i use on my imagemagick server?
What i tried to show with crisp is that a generated image should look more like html-text if you know what i mean. The text in html are not like smooth as sIFR text or any text created with antialias. Maybe its just the thickness of the generated text that makes my images look different...
fmw42 wrote:Is it possible that PS and IM are using two different fonts, even if named the same? Perhaps PS has its own imbedded fonts? Or they are the same named fonts but slightly different versions and are in different directories.
I'm using TrueType-font with full specified path then generating ImageMagick image. But that could be a possible problem, i'll try to copy the font that PS is using to my server that generates ImageMagick image and see if it works.
fmw42 wrote:Is it possible that PS and IM are using two different fonts, even if named the same? Perhaps PS has its own imbedded fonts? Or they are the same named fonts but slightly different versions and are in different directories.
I copied the font that Photoshop uses to the server that generates ImageMagick images but the same thing. Looks like the examples i included in my first post.
As the TTF font file is the same, the difference will be down to the way the font is 'rendered' or drawn onto a raster image.
ImageMagick calls on a separate library, freetype, to do this. It basically passes the text and the parameters to this library and gets back a raster image, and actually does not have control of how the font is rendered.
Different versions of that library have resulted in different results. Maybe you can upgrade that library.