copy the images to a new folder and run the following command
mogrify -resize 1280 *.JPG it means resize images 1280px wide
convert -sample 80x40 input.jpg output.jpg
convert -sample 25%x25% input.jpg output.jpg
for img in `ls *.jpg`
do
convert -sample 25%x25% $img thumb-$img
done
rotate images convert -rotate 90 input.jpg output.jpg
convert to different formats convert input.jpg output.png
add a text label
convert -font helvetica -fill white -pointsize 36 -draw 'text 10,50 "Floriade 2002, Canberra, Australia"' floriade.jpg comment.jpg
convert -font fonts/1900805.ttf -fill white -pointsize 36 -draw 'text 10,475 "jeromenicholas.co.cc"' floriade.jpg stillhq.jpg
get information on tiff files tiffinfo sample.tif
get information on png files pnginfo sample.png
add a charcoal effect convert -charcoal 2 input.jpg output.jpg
colorize effect convert -colorize 255 input.jpg output.jpg
convert -implode 4 input.jpg output.jpg
convert -solarize 42 input.jpg output.jpg
convert -spread 5 input.jpg output.jpg
multiple commands convert -sample 25%x25% -spread 4 \ -charcoal 4 input.jpg output.jpg
http://www.imagemagick.org/
No comments:
Post a Comment