Page 1 of 1

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

Posted: 2007-08-13T00:10:31-07:00
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

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

Posted: 2007-10-03T03:41:30-07:00
by anthony
There is a perl montage example in the 'demos' area.

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

Posted: 2007-10-09T03:16:54-07:00
by zeus
URL pls

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

Posted: 2007-10-09T21:33:11-07:00
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