convert
utility is *the* perfect solution to your problem: for i in *.JPG; do convert -resize 1600x $i $i.resized.jpg; done
Adjust the size to your needs. Also you might want to reduce quality a tad to save on file size with -quality 70
or something similar. Exif metadata can be stripped using -strip
. That's basically exactly what I'm doing with my nature image galleries, too.
for i in *jpg
do
convert -strip -quality 50 -resize '>640x480' -auto-orient "$i" "$outdir/$i"
done
I create my “galleries” using this happy little accident.
for i in *jpg
do
convert -strip -quality 50 -resize '>640x480' -auto-orient "$i" "$outdir/$i"
done
I create my “galleries” using this happy little accident.
for i in *jpg
do
convert -strip -quality 50 -resize '>640x480' -auto-orient "$i" "$outdir/$i"
done
I create my “galleries” using this happy little accident.
- https://www.uninformativ.de/pics/index.html
- https://www.uninformativ.de/desktop/
It’s probably not good on smartphones or tablets – because I use neither of those.
- https://www.uninformativ.de/pics/index.html
- https://www.uninformativ.de/desktop/
It’s probably not good on smartphones or tablets – because I use neither of those.
- https://www.uninformativ.de/pics/index.html
- https://www.uninformativ.de/desktop/
It’s probably not good on smartphones or tablets – because I use neither of those.
Do you mind if I borrow from you here, I really like what you've done.
I also like what @lyse has done as well.
I want to build something around this with a similar structure and UX and some way of non-tech-savvy users to be able to build a gallary of some media they want to share.
Do you mind if I borrow from you here, I really like what you've done.
I also like what @lyse has done as well.
I want to build something around this with a similar structure and UX and some way of non-tech-savvy users to be able to build a gallary of some media they want to share.
sips
command on macOS.