Re: [Oiio-dev] Using oiiotool to batch resize pictures

2015-04-28 Thread Richard Shaw
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

Re: [Oiio-dev] Using oiiotool to batch resize pictures

2015-04-28 Thread Larry Gritz
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!

Re: [Oiio-dev] Using oiiotool to batch resize pictures

2015-04-28 Thread Larry Gritz
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

Re: [Oiio-dev] Loading .CR2 raw image in right colorSpace (get rid of blue channel predominance)

2015-04-28 Thread Jerome Esnault
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