it used fork() which caused problems on systems that didn't have
a real fork().
-0.41?
+0.41
- skip() in testtools should be skipn() and it should use the
loop variable for the test number
+0.42pre1
+ - quote the 'min' parameter to scale in Imager::Transformations
+ and at least mention it in the docs beyond the examples
+
=================================================================
For latest versions check the Imager-devel pages:
Direct type/virtual images, RGB(A)/paletted images, 8/16/double
bits/channel, color maps, channel masks, image tags, color
-quantization.
+quantization. Also discusses basic image information methods.
=item Imager::Files
$newimg = $img->scale(xpixels=>400);
$newimg = $img->scale(xpixels=>400, ypixels=>400);
- $newimg = $img->scale(xpixels=>400, ypixels=>400, type=>min);
+ $newimg = $img->scale(xpixels=>400, ypixels=>400, type=>'min');
$newimg = $img->scale(scalefactor=>0.25);
$newimg = $img->crop(left=>50, right=>100, top=>10, bottom=>100);
To scale an image so porportions are maintained use the
C<$img-E<gt>scale()> method. if you give either a xpixels or ypixels
parameter they will determine the width or height respectively. If
-both are given the one resulting in a larger image is used. example:
-C<$img> is 700 pixels wide and 500 pixels tall.
+both are given the one resulting in a larger image is used, unless you
+set the C<type> parameter to C<'min'>. example: C<$img> is 700 pixels
+wide and 500 pixels tall.
$newimg = $img->scale(xpixels=>400); # 400x285
$newimg = $img->scale(ypixels=>400); # 560x400
$newimg = $img->scale(xpixels=>400,ypixels=>400); # 560x400
- $newimg = $img->scale(xpixels=>400,ypixels=>400,type=>min); # 400x285
+ $newimg = $img->scale(xpixels=>400,ypixels=>400,type=>'min'); # 400x285
$newimg = $img->scale(scalefactor=>0.25); 175x125
$newimg = $img->scale(); # 350x250