I'm finishing up the gif writer.

Actually I discovered the problem by accident -- my plugin will support subimages appending. I decided to describe the issue here because it would probably come up in the future anyway.


On 16/12/13 20:34, Larry Gritz wrote:
Probably an oversight.  I think the new method of specifying subimage specs up 
front is relatively recent, and I bet that I fixed oiiotool but forgot to fix 
iconvert in a similar way.

Which format are you trying to write?

In the mean time, can you do the conversion with oiiotool?

        -- lg


On Dec 13, 2013, at 3:29 PM, Mariusz Szczepańczyk <[email protected]> 
wrote:

Hello,

why doesn't iconvert check whether the output plugin supports appending subimages on the 
fly? I'm writing an output plugin and realized that even if I specifically set the 
"appendsubimage" attribute to false, iconvert calls inappropriate open() 
function flavor when converting multi-image files, i.e.:
open (name, spec_0, Create);
instead of:
open (name, 3, [spec_0, spec_1, spec_2]);

I think this behavior contradicts the approach from manual in number of places, 
especially section 3.2.8 Multi-image files, p. 31.

Should it be patched or is it desired behavior for some reason?

Thanks,
Mariusz


--
Larry Gritz
[email protected]



_______________________________________________
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

Reply via email to