[TriLUG] Image scaling utility

H Brett Bolen wingedlizard at nc.rr.com
Wed Sep 4 14:26:51 EDT 2002


man pnmscale


for example

jpegtopnm pic.jpg | pnmscale -xysize 640 480 | pnmtojpeg > small_pic.jpg

should be installed on redhat 6.x and 7.x.  If not look for
netpbm.rpm or netpbm-progs.rpm



jeffj at ro.com wrote:
> I'm looking for a command line utility I can't seem to find. I want a 
> program that takes a bunch of JPEG images, scales them from 720x480 to 
> 640x480, and writes out another JPEG image with a specified amount of 
> compression. So far, the closest utility I can find assumes that the 
> ratio of the width in pixels to the hieght in pixels is to remain 
> constant, but that isn't what I want.
> 
> Any suggestions?
> 






More information about the TriLUG mailing list