meillo@6: .TH RESIZE\-GD 1 "resize-gd\-0.1" "2008\-06\-14" "resize-gd" meillo@6: meillo@6: .SH NAME meillo@6: resize-gd \- resizes images using the gd library meillo@6: meillo@6: .SH SYNOPSIS meillo@6: .B resize-gd PICTURES meillo@6: meillo@6: .B resize-gd x PICTURES meillo@6: meillo@6: .SH DESCRIPTION meillo@6: The program resizes given images to a specific size. The files are modified, so copy the files before if you want to keep the original pictures! meillo@6: .PP meillo@6: If is given, aspect ratio of the images is preserved and only shrinking is done. Smaller images remain unmodified. meillo@6: .PP meillo@6: If x ist given, the images are resized to match that dimensions. The images probably get stretched and enlarged. meillo@6: .PP meillo@6: Only JPEG and PNG files are supported. The filetype is detected by the filename suffix which has to be either `.jpg' or `.png' (in lowercase letters). meillo@6: Unsupported files get skipped. meillo@6: .PP meillo@6: This program is meant to be a small(er) alternative to the meillo@6: .BR mogrify -resize meillo@6: command of ImageMagick. Mainly because ImageMagick has lots of dependencies, while the GD-Library has less. meillo@6: meillo@6: .SH OPTIONS meillo@6: .TP meillo@6: .B \-\-help meillo@6: Show summary of options. meillo@6: .TP meillo@6: .B \-\-version meillo@6: Show program name and version. meillo@6: meillo@6: .SH EXAMPLES meillo@6: Create some thumbnails, preserving aspect ratio: meillo@6: .IP meillo@6: mkdir thumbs meillo@6: meillo@6: cp *.jpg *.png thumbs meillo@6: meillo@6: resize-gd 150 thumbs/* meillo@6: meillo@6: .PP meillo@6: Make some pictures squared: meillo@6: .IP meillo@6: cp -r somepics/ somepics-squared meillo@6: meillo@6: resize-gd 400x400 somepics-squared/* meillo@6: meillo@6: .SH EXIT CODE meillo@6: .TP meillo@6: .B 1 meillo@6: Any other error meillo@6: .TP meillo@6: .B 2 meillo@6: The size (parameter 1) had no valid format. It has to be either or x. meillo@6: meillo@6: .SH BUGS meillo@6: Please report any bug you find to the author. meillo@6: meillo@6: .SH SEE ALSO meillo@6: .BR mogrify (1), meillo@6: .BR ImageMagick (1). meillo@6: meillo@6: .SH AUTHOR meillo@6: resize-gd and this man page were written by markus schnalke meillo@6: .PP meillo@6: Website: http://prog.marmaro.de/resize-gd