calculations (only caught in tests under perl 5.8.5 <sigh>)
Resolves https://rt.cpan.org/Ticket/Display.html?id=7581
- built 0.43_01 for testing
Resolves https://rt.cpan.org/Ticket/Display.html?id=7581
- built 0.43_01 for testing
+0.43_02
+
+- the changes to scale() had some problems with integer vs floating point
+ calculations (only caught in tests under perl 5.8.5 <sigh>)
+
=================================================================
For latest versions check the Imager-devel pages:
=================================================================
For latest versions check the Imager-devel pages:
hsize = (int)(0.5 + im->xsize * Value);
if (hsize < 1) {
hsize = 1;
hsize = (int)(0.5 + im->xsize * Value);
if (hsize < 1) {
hsize = 1;
+ Value = 1.0 / im->xsize;
if (vsize < 1) {
vsize = 1;
if (vsize < 1) {
vsize = 1;
+ Value = 1.0 / im->ysize;