I see!
A Blog for things related to Linux, Python, R, Shell scripting, bioinformatics, etc.
Showing posts with label
resize image
.
Show all posts
Showing posts with label
resize image
.
Show all posts
2012-07-28
How to bulk resize JPEG pictures via Imagemagick
Sometimes you need to reduce the size of many pictures, for example to share them on the internet.
A nice way of doing this is via Shell:
convert
FILE
.
JPG
-resize
2448x1836
./smaller_pictures/
FILE
.
JPG
Or by using a for loop:
for F in *.
JPG
do
convert $F -resize
2448x1836
./smaller_pictures/$F
done
Older Posts
Home
Subscribe to:
Posts (Atom)