Annotate worked in earlier versions

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
toolz
Posts: 1
Joined: 2019-10-17T17:11:13-07:00
Authentication code: 1152
Location: Atlanta, Georgia

Annotate worked in earlier versions

Post by toolz »

Image Magick Perl Module
Using Annotate to overlay a caption, works correctly for CentOS 6, fails for CentOS7 and CentOS 8
Portrait images rotate overlay 90 deg. (West)
Landscape images do not rotate overlay (South)

CentOS 6
ImageMagick-devel-6.7.2.7-6.el6.x86_64
ImageMagick-6.7.2.7-6.el6.x86_64
ImageMagick-perl-6.7.2.7-6.el6.x86_64
Annotate works as documented (font, undercolor, gravity, rotate)

CentOS 7
ImageMagick-devel-6.7.8.9-18.el7.x86_64
ImageMagick-perl-6.7.8.9-18.el7.x86_64
ImageMagick-6.7.8.9-18.el7.x86_64
ImageMagick-c++-6.7.8.9-18.el7.x86_64
Annotate ignores font name (uses default font)
Ignores undercolor argument (no text background)
gravity West and rotate -90 makes text disappear

CentOS 8
ImageMagick-libs-6.9.10.64-1.el8.x86_64
ImageMagick-6.9.10.64-1.el8.x86_64
ImageMagick-perl-6.9.10.64-1.el8.x86_64
Annotate honors font name (uses specified font)
Ignores undercolor argument (no text background)
gravity West and rotate -90 works correctly

Todd Merriman
Software Toolz, Inc.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Annotate worked in earlier versions

Post by fmw42 »

With regard to image rotation, some images contain EXIF meta data for the image orientation. Use -auto-orient to have them rotated properly.

Font names only work if they have been entered into the type.xml file. This can be done using Anthony's script https://www.imagemagick.org/Usage/scrip ... k_type_gen
Post Reply