IM v.6.3.3-5 ->Montage(label=>'...' ...); labels only first
Posted: 2007-08-13T00:10:31-07:00
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
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