If you want to know the file format version... there is currently not a way to
retrieve that, but I can certainly add it! It's really easy, I will do it for
you today.
But if you want to know which specific version of the library wrote the file, I
think there is no reliable way to tell. The file format version only changes
infrequently when there are real compatibility breaks, and also we rig the
library so that even newer software will write the old format if you don't
happen to be using any features that strictly require the new format.
-- lg
> On Aug 28, 2020, at 12:54 AM, Radu Arjocu <[email protected]> wrote:
>
> I want to know what version of OpenEXR wrote a particular EXR file?
>
> Radu Arjocu
> Software Engineer • Masstech Innovations Inc. • www.masstech.com
> <http://www.masstech.com/> <http://www.masstech.com/>
> From: Oiio-dev <[email protected]> on behalf of Larry
> Gritz <[email protected]>
> Sent: Thursday, August 27, 2020 20:12
> To: OpenImageIO developers <[email protected]>
> Subject: Re: [Oiio-dev] How teo determine EXR file version?
>
> Do you want to know what version of OpenEXR is linked with the running OIIO
> app?
>
> Or do you want to know what version wrote a particular exr file?
>
> Or do you want to know what version is capable of reading a particular file
> (e.g., an exr written by 2.x, but that doesn't happen to use deep or
> multi-part features, can be read just fine by 1.x)?
>
>
>
>> On Aug 27, 2020, at 9:30 AM, Radu Arjocu <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Hello,
>>
>> I quick question to you all, because I don't seem to figure this out:
>> Is there a way to determine an EXR file version (v1, v2 or v3 in the
>> future) with OIIO?
>>
>> Thank you,
>>
>> Radu Arjocu
>>
>
> --
> Larry Gritz
> [email protected] <mailto:[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