the comment in resample's man page is really true. it produces great output s-l-o-w-l-y.
i needed to convert some pic(1)tures to transparent gifs. unfortunately gif(1) doesn't do that. so i took a snapshot of the page window with crop -i5 /mnt/wsys/$id/window | topng > $target and fed the results to gimp. unfortunately, this failed miserably. some of the lines were aliased by gs and gimp got confused. i tried feeding an image 10x larger into gimp and resizing, but the results were even worse! half the lines were deleted. resize to the rescue. i tried this and the results are much, much better (available for pickup next wed :-)): <$pdf gs -dNOPAUSE -dSAFER '-sDEVICE=plan9' \ '-sOutputFile=/fd/1' -dQUIET -r1000 \ '-dTextAlphaBits=4' '-dGraphicsAlphaBits=4' -| resample -x10%|page btw, is anyone working or thinking about working on gif? it really does need to transparency right to handle stuff like http://radar.weather.gov/ridge/radar.php?rid=ffc i looked at it a while back for 5 minutes but wasn't quite clear on the concept and had other things to do. - erik