convert scale.c to scale.im so we have 8 bit/sample and double/sample
authorTony Cook <tony@develop=help.com>
Wed, 30 Aug 2006 06:47:48 +0000 (06:47 +0000)
committerTony Cook <tony@develop=help.com>
Wed, 30 Aug 2006 06:47:48 +0000 (06:47 +0000)
commita10945af5bc182cd109317d19d84a1f04df1cccc
tree71aa6dd25eaae5ee6401425e0205c8de6a9fe249
parentc52cbef2d42c2ba770753a8902330bd9a1bf23df
convert scale.c to scale.im so we have 8 bit/sample and double/sample
implementations of mixing scaling.

modified imtoc.perl to allow non-conditional #code sections to allow
creation ofr 8 and double/sample versions of support functions.

fixed a bug in an optimization that avoids vertically scaling when the
vertical size stays the same.

The change from double/sample only to both saved about 20% on
scalebench time (which also loads/saves the images)
MANIFEST
bench/scale.perl
imtoc.perl
lib/Imager/Transformations.pod
scale.c [deleted file]
scale.im [new file with mode: 0644]
t/t40scale.t