If nobody objects to my recent pull request for 'oiiotool', I'd like to build 
this functionality in there rather than iprocess (which I'd prefer to retire as 
soon as possible).

Options (like your nocrop) are easy to tack onto the commands, with the new 
changes I made to ArgParse, rather than needing totally separate flags and 
polluting the flag namespace.  For example, you could do something like

        oiiotool r2.jpg --rotate:nocrop:filter=lanczos3 -o test2.jpg

(the parts after the ':' are entirely optional, and apply to just that one 
rotate command)

        -- lg


On Jul 18, 2011, at 11:55 AM, Łukasz Maliszewski wrote:

> Pull request: https://github.com/OpenImageIO/oiio/pull/102/files
> 
> Few things added to my pull request:
> - reflection mapping added
> - --nocrop option to transformation added - resize the output image so
> that there is no data loss after transformation.
>  With this option enabled all input pixels are visible on the output
> image (e.g. after rotation corners won't be cut out)
> - default center transformation output image
> 
> usage example:
> ./iprocess --rotate 22 r2.jpg --filter lanczos 2 --nocrop -o test2.jpg
> 
> 
> Lukasz
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to