IM v.6.3.3-5 ->Montage(label=>'...' ...); labels only first

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
zeus

IM v.6.3.3-5 ->Montage(label=>'...' ...); labels only first

Post by zeus »

SYNOPSIS:

in IM v.6.3.3-5 PerlMagick code with ->Montage method labels only first
tile image instead of all

IM v.6.3.2 doesn't expose the problem , the problem found at least on FreeBSD 6.2-STABLE


DESCRIPTION:
after IM ugrade to v.6.3.3 (the previous one was v.6.3.2)
on FreeBSD-6.2-STABLE with perl v.5.8.8
i have found difficulty with ->Montage() behaviour

in my code i'm using PerlMagich to build contact sheet for my shots ...

the code:
...

for ($csIter = 0 ; $csIter < $csFilesAmount ; $csIter++) {
$readres = $image->Read("jpg:".$thumbnailes_sorted[$csIter]);
if ( not $readres ) {
dbgmsg (4,"$thumbnailes_sorted[$csIter] was successfully red.\n");
}
else {
errmsg ("Image::Magick error: $readres\n\n");
}
...
$montage = $image->Montage(background=>'#FFF',
bordercolor=>'#DDD',
mattecolor=>'#CCC',
font=>'Helvetica',
label=>'%t',
frame=>'5',
geometry=>$size . "x" . $size . "+4+4",
pointsize=>'11',
shadow=>'True',
title=>$title,
tile=>$contactSheetTile);
...

it builds such image:
ftp://ftp.dn.farlep.net/pub/misc/renrot/misc/cs.jpg

the title is rendered, the first file label is rendered,
but no further labels
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: IM v.6.3.3-5 ->Montage(label=>'...' ...); labels only first

Post by anthony »

There is a perl montage example in the 'demos' area.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: IM v.6.3.3-5 ->Montage(label=>'...' ...); labels only first

Post by anthony »

It is in the sources, and in the installed documentation area.
On my system it is in.
/usr/share/doc/ImageMagick-perl-6.3.6/demo/demo.pl
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply