D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Filtering files on size then shrinking the big ones to target size

 

Given a set IG JPEG image files I want to automagically pass all those no bigger than say 2.4 MBytes to one directory for uploading etc and then for the others automatically reduce the file size - not the pixel count but quality until they hit that file size.

Does the latter job have to be done by iterative trials of settings on mogrufy or is there a neat way to do it in one?

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq