You are not logged in.

#1 2011-10-28 23:30:08

Agent69
Member
Registered: 2006-05-26
Posts: 189

Automated Image Processing (Scripting)

I have a directory of several thousand photos, which are in both portrait and landscape mode. Is it possible to create a shell script that will go through the directory, find out which ones are wider than they are tall (landscape), and then create a soft link for those images in another directory so I can look through them using Feh?

Thanks!

Offline

#2 2011-10-28 23:42:05

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Automated Image Processing (Scripting)

I think imagemagick will do that for you via a script. Read this: http://www.imagemagick.org/Usage/photos/


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#3 2011-10-29 00:04:49

Agent69
Member
Registered: 2006-05-26
Posts: 189

Re: Automated Image Processing (Scripting)

From what I can see, I should be able to use the -format option with ImageMagick's Identify command to get what I need. Thanks for the link!!

Offline

Board footer

Powered by FluxBB