I think you want
oiiotool input.ext --resize:filter=blackman-harris 50% -o /tmp/test.exr
options are appended to commands with the ":name=val" format.
Filter choices (see end of filter.cpp) are box, triangle, gaussian,
sharp-gaussian, catmull-rom, blackman-harris, sinc, lanczos3, radial-lanczos3,
mitchell, bspline, disk.
The default -- which I think pretty good -- is to use blackman-harris when
magnifying, and lanczos3 when minifying.
On Oct 9, 2013, at 5:04 AM, Ben De Luca wrote:
> Hi All,
> I was trying to pass a filter option to the resize command, but I cant
> figure out what the format should look like.
>
> I thought it might be some thing like.
>
> ./oiiotool -v input.ext --resize 50% filter=blackman-harris -o /tmp/test.exr
>
> Is that the right sort of format? I looked that the code and I cant actually
> see how I can pass in the filter option.
>
> Also, is there a list of implemented filters?
>
--
Larry Gritz
[email protected]
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org