How about this? https://github.com/OpenImageIO/oiio/pull/1065
On Feb 18, 2015, at 2:01 PM, Larry Gritz <[email protected]> wrote: > Should be an easy fix. I'll take care of this shortly. :-) > > -- lg > > > On Feb 18, 2015, at 1:59 PM, Pete Black <[email protected]> wrote: > >> >> Now I look at it, this same message is reported if the file does not exist, >> so yes, I agree too , could be clearer. >> >> >> >> On 19/02/2015, at 10:52 am, Stephen Parker <[email protected]> >> wrote: >> >>> I definitely recall seeing a more descriptive error message regarding >>> unsupported file formats ... but that may have been a part of the texture >>> system when iterating through all of the plug-ins trying to find a match. >>> However, I agree on both accounts. The error message is technically >>> correct, but could be more descriptive. >>> >>> >>> On Wednesday, February 18, 2015 1:45 PM, Richard Shaw >>> <[email protected]> wrote: >>> >>> >>> On Wed, Feb 18, 2015 at 3:41 PM, Pete Black <[email protected]> wrote: >>> It didn’t say it didn’t exist, it said it couldn’t open it. >>> >>> $ oiiotool openshot.svg --resize -o openshot.png >>> oiiotool ERROR: Could not open file “openshot.svg" >>> >>> Not sure how much clearer the message could be made? >>> >>> I was interpreting it from more of a file system/permission point of >>> view... If it's not supported then something to the effect of "this format >>> is not supported" would be clearer. >>> >>> Richard >>> >>> _______________________________________________ >>> Oiio-dev mailing list >>> [email protected] >>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >>> >>> >>> _______________________________________________ >>> Oiio-dev mailing list >>> [email protected] >>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >> >> _______________________________________________ >> 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 -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
