On 10/30/2013 3:50 AM, Sebastian Elsner wrote:
Hello,
I've been tasked with writing a frontend for a subset of oiiotool's
functionality, including resize of non-sequare images, colorpaces and
multi-resolution exrs.
I have not found a way to resize an image only by specifying the widht
or height and having oiiotool maintaining aspect ratio. Specifying
something like --resize 1000 or --resize x1000 leads to a crash. If this
is not available I would propose to add a --resizew --resizeh.
I am using the prebuild binaries from Christoph Gohlke, but they only
seem to support the linear colorspace. At lease this is what oiiotool
--help tells me. Is there something you have to do while compiling ocio
or oiio to get sRGB, Rec709 or KodakLog?
The OpenImageIO-1.2.2-bin-vc9-x64 binaries are linked to OpenColorIO.
Try to create a config.ocio file
(http://opencolorio.org/configurations/) and set the `OCIO` environment
variable to it (e.g. `set OCIO=config.ocio`).
Christoph
For multi-resolution exrs I could not find any command. Do I have to put
the image on the stack multiple times and resize each item and then
write to a file?
Regards
Sebastian
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org