command for resizing images

53 views
asked Jun 24, 2013 in Graphic Design by sally23 (1,250 points)
Hello, I am using Linux and I have GD2 installed .I  am looking for a command that I can use with SSH to resize all my images to 75%  of their real size. Is this possible and if so how?

Many thanks

1 Answer

0 like 0 dislike
answered Jun 24, 2013 by dona (4,540 points)
Download and install ImageMagick then use this code

find . -name \*.jpg -exec convert {} -resize 75% {} \;
...