> anyone written any software recently?

Now you mention it, I've recently written a 'resize' command which is
a bit like resample(1) for impatient people:

term% time resample -x 1600 -y 1200 glenda.pic >/dev/null
36.07u 0.01s 36.21r      resample -x 1600 -y 1200 ...
term% time resize -b -s 1600 1200 glenda.pic >/dev/null
0.91u 0.02s 1.06r        resize -b -s 1600 1200 ...

The -b option is for bilinear interpolation.  Without that, it goes
a bit faster but you get jaggies.

term% time resize -s 1600 1200 glenda.pic >/dev/null
0.56u 0.03s 0.71r        resize -s 1600 1200 glenda.pic ...

It's in /n/sources/contrib/miller/resample.c

Warning: only works on 24bpp images at present.


Reply via email to