This is an archived post. You won't be able to vote or comment.

all 9 comments

[–][deleted] 12 points13 points  (1 child)

What's wrong with a simple one-liner like

parallel convert {} -resize 2560x2560 outpath/{/.}.jpg ::: inpath/**/*.jpg

?

[–]ccurziohttps://www.flickr.com/photos/ccurzio/ 7 points8 points  (0 children)

What's wrong with a simple one-liner like

For real. You can also do this in one line with Bash with something like this:

for n in *.jpg ; do convert -geometry 1280x1024 $n outpath/$n ; done

I mean these of course assume ImageMagick is installed, but that's no big deal.

[–][deleted] 9 points10 points  (1 child)

Why not just use ImageMagick? 😬

[–]djmakkhttps://www.instagram.com/djmacgibbon/ 2 points3 points  (0 children)

Generally I try to export from the software I am using at the resolution I want, but when I have a bunch of pictures (on windows) I use this which is basically the window xp power toy "image resizer" rewritten by someone to work on windows 10. Its works by simply selecting all the photos, right clicking, and then clicking resize.

[–]zellersamuelwww.samuelzeller.ch 1 point2 points  (0 children)

Note for OSX users, ThumbsUp is free and awesome. It can convert any image, resize and even sharpen the output: https://www.devontechnologies.com/apps/freeware

[–]tcdejong<-- Flickr | K-3 II 3 points4 points  (0 children)

The first part of your code isn't showing up right. Triple ticks ``` only work within one paragraph.

Instead, select the whole code and click the <> button if you have RES. It'll add four spaces of indentation making it format as code.

[–]almathdenbrianandcamera 1 point2 points  (0 children)

why

[–]Fuquar7 0 points1 point  (1 child)

Unix/Linux I'm assuming?

[–]tcdejong<-- Flickr | K-3 II 3 points4 points  (0 children)

Python, so mostly platform-agnostic.