Rasterized Text

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?".
immortal26

Re: Rasterized Text

Post by immortal26 »

Sure Magick thanks:
http://core.kpcdigital.com/mvp/stadium/ ... ption3.jpg

As you can see... well it's hard to see but the printer can see it lol... but the photoshop version caption3.jpg has a more sharp edge rather than caption.jpg which is smoothed enough for the nexpress to pretty much throw whitespace in the text.

Also before it's even looked into, the smaller the font's get the more blurry they get in IM, they seem to stay crisp and somewhat smooth in photoshop.

Edit:
forgot the font:
http://core.kpcdigital.com/mvp/stadium/ ... corbel.ttf
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Rasterized Text

Post by magick »

We get nearly identical results with:
  • convert -size 500x500 -background white -pointsize 94 -font corbel.ttf -gravity center -fill black label:'Hello World' -quality 99 caption2.jpg
immortal26

Re: Rasterized Text

Post by immortal26 »

Umm, text needs to be black, background needs to be white.
I don't understand what you just mentioned above.
Changing the background back to white, and the fill to black... give's me the exact same look as my original code.

Original Caption:
http://core.kpcdigital.com/mvp/stadium/ ... aption.jpg

Your Caption: (with white background and black text)
http://core.kpcdigital.com/mvp/stadium/ ... ption2.jpg

Photoshop Caption:
http://core.kpcdigital.com/mvp/stadium/ ... ption3.jpg

As you can see, original and your's looks EXACTLY the same... while Photoshop still looks more crisp.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Rasterized Text

Post by magick »

Your Photoshop image is CMYK. ImageMagick renders in RGB. You can then convert the image to CMYK with color profiles if you want CMYK.
immortal26

Re: Rasterized Text

Post by immortal26 »

I edited my post above.
Not worried about color profiles... just the (how should i say, too much smoothing/rasterization) is what I need to figure out.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Rasterized Text

Post by magick »

Perhaps you are using an older version of Freetype. We're getting nearly identical results to Photoshop.
immortal26

Re: Rasterized Text

Post by immortal26 »

Running freetype @2.4.3_0
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Rasterized Text

Post by magick »

We're using Freetype 2.3.11 and ImageMagick 6.6.4-9.
immortal26

Re: Rasterized Text

Post by immortal26 »

hmm, so maybe the latest freetype version isn't the greatest?
I will downgrade and see what I get.
I am running 6.6.4-8, were any changes made on how text is rendered in 4-9?
immortal26

Re: Rasterized Text

Post by immortal26 »

ugh, downgraded to 2.3.11 and I'm still getting the same results. Strange!

Okay, I guess my last option I can think of is:
A. Is there a few options to perhaps make the edges more crisp like the photoshop image?
or
B. Is there another application/library I can use to overlay an image created with ImageMagick with text (perhaps vector?)
Post Reply