Possible regression reading DPX files
Posted: 2019-06-27T18:56:24-07:00
Hello,
We've encountered an error trying to run identify or convert on some DPX files.
I'm assuming this relates to these lines:
Unfortunately I don't know what `dpx.file.industry_size` relates to. I am unsure if the file is header is actually corrupted or the validation above is incorrect.
The file is readable in older versions 7.0.2-6 to 7.0.6-9 though, but not in 7.0.8-47 or 7.0.8-50.
Converting the file (using older versions of convert or oiiotool) produces a file readable by the latest version.
Unfortunately I am not allowed to share the file in question. So my first question would be how I can share the relevant header?
Apologies for the lack of infos.
Any help would be appreciated so we don't get stuck on an old version.
Best,
Mitja
We've encountered an error trying to run identify or convert on some DPX files.
Code: Select all
identify: ImproperImageHeader
' @ error/dpx.c/ReadDPXImage/744.
Code: Select all
if (dpx.file.industry_size > GetBlobSize(image))
ThrowReaderException(CorruptImageError,"ImproperImageHeader");
The file is readable in older versions 7.0.2-6 to 7.0.6-9 though, but not in 7.0.8-47 or 7.0.8-50.
Converting the file (using older versions of convert or oiiotool) produces a file readable by the latest version.
Unfortunately I am not allowed to share the file in question. So my first question would be how I can share the relevant header?
Apologies for the lack of infos.
Any help would be appreciated so we don't get stuck on an old version.
Best,
Mitja