![]() |
Feel free with Open Source SoftwareAndries Filmer - Internet professional sinds 1996.
|
|
|
|
Resize Images on the commandlineQuick commandline tips for Images. Some examples, but you can do much more with convert then resize see man convert for more options
Resize images
sudo apt-get install imagemagick
find . -maxdepth 1 -iname "*.jpg" -print0 | xargs -0 -l -i convert -resize 1024x768 -quality 50 -strip {} /tmp/output/{}
Auto orientationIf you use ImmageMagick to make a fotoalbum or make a overview with thumbs you need to set the orientation first.
cd /to/dir/with/fotos for i in *.JPG;do convert -auto-orient $i $i;done
Crop imagesconvert image.jpg -gravity Center -crop 50% re_image.jpg
NautilusWe can also use Nautilus extention which uses ImageMagick.
sudo apt-get install nautilus-image-converter Login out/in (or killall nautilus) to get the new options when right-click on a image in Nautilus Now you can resize or scale images with a mouse ;)
I appreciate if you give some comment about this page. Please go ahead. |
|
Andries Filmer | http://andries.filmer.nl | andries@filmer.nl | © 2011
|