Page 1 of 1

Annotate worked in earlier versions

Posted: 2019-10-17T17:34:06-07:00
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.

Re: Annotate worked in earlier versions

Posted: 2019-10-17T18:06:36-07:00
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