Different quality between imagemagic and photoshop text

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
Leo7
Posts: 4
Joined: 2015-04-12T02:49:29-07:00
Authentication code: 6789

Different quality between imagemagic and photoshop text

Post by Leo7 » 2015-04-25T07:04:37-07:00

Hello people,
I wrote my first image magic codes with your helps firstly thank you so much.

Now, I have a problem. There is a bit quality difference between photoshop generated and imagemagic generated texts. Here you can see:

Image

At the photoshop version its bright and a little bit differences with some words. For example "a" and "g" is slightly different.

Here is image magick codes:

Code: Select all

$cmd = "$original_image -pointsize 16 -kerning -0.7 -density 100 -font Font.otf -fill white  " .
        " -gravity west -annotate +22+43 \"$text_submitted\" ";
    $errors = array();
    exec("convert $cmd  $new_image 2>&1", $errors);
    sleep(3);

I also tried to use ttf instead of otf but it has been worse.

Is there any way to make imagemagick image seems like photoshop image?

Thanks

Post Reply