On Tue, Apr 28, 2015 at 1:10 AM, Larry Gritz l...@larrygritz.com wrote:
I'm going to guess that you're not really asking how do I script oiiotool
to resize images over a certain resolution, because writing a shell script
to do that wouldn't be very hard, and writing a short Python program
On Apr 28, 2015, at 6:44 AM, Richard Shaw hobbes1...@gmail.com wrote:
The bulk of the very large images were from a DSLR and I'm guessing the jpeg
quality was set to 100 so I did something like:
find ./ -size +6M -exec oiiotool {} --quality 80 -o {} \;
That's a really great solution!
I'm going to guess that you're not really asking how do I script oiiotool to
resize images over a certain resolution, because writing a shell script to do
that wouldn't be very hard, and writing a short Python program (based on
ImageBuf/ImageBufAlgo directly, rather than oiiotool) would be even
OK, thanks!
It could be great if this could be part of the OIIO lib feature :)
Many thanks.
Best,
Jerome
2015-04-22 12:17 GMT+02:00 Kevin Wheatley kevin.j.wheat...@gmail.com:
using dcraw you can do something like...
dcraw -4 -o0 -T /path/to/cr2 /path/to/output.tiff
Kevin