Hi Aspose forum,
This post seems to touch on a similar issue: PDFA interpolate key problem
When attempting to convert certain PDFs (see attached in ZIP) to PDF/A-2B, they fail validation checks using VeraPDF as seen in an excerpt of the XML report below:
<validationReport jobEndStatus="normal" profileName="PDF/A-2B validation profile" statement="PDF file is not compliant with Validation Profile requirements." isCompliant="false">
<details passedRules="141" failedRules="1" passedChecks="12257" failedChecks="2">
<rule specification="ISO 19005-2:2011" clause="6.2.8" testNumber="3" status="failed" passedChecks="0" failedChecks="2">
<description>If an Image dictionary contains the Interpolate key, its value shall be false. For an inline image, the I key shall have a value of false.</description>
<object>PDXImage</object>
<test>Interpolate == false</test>
<check status="failed">
<context>root/document[0]/pages[0](4 0 obj PDPage)/contentStream[0]/operators[3]/xObject[0](5 0 obj PDXImage)</context>
<errorMessage>The value of the Interpolate key in the Image dictionary is true</errorMessage>
</check>
<check status="failed">
<context>root/document[0]/pages[1](12 0 obj PDPage)/contentStream[0]/operators[3]/xObject[0](11 0 obj PDXImage)</context>
<errorMessage>The value of the Interpolate key in the Image dictionary is true</errorMessage>
</check>
</rule>
</details>
</validationReport>
<featuresReport>
<informationDict>
<entry key="Keywords"></entry>
<entry key="Creator">Aspose Pty Ltd.</entry>
<entry key="Producer">Aspose.PDF for .NET 25.2.0</entry>
<entry key="CreationDate">2025-01-10T11:44:47.000Z</entry>
<entry key="ModDate">2025-02-17T12:14:00.000Z</entry>
</informationDict>
</featuresReport>
As seen this has been tested on the latest release of Aspose.PDF for .NET. I have attached a very simple application: =
ReproduceAsposePdfaIssue.zip (208.2 KB) which can be used to reproduce the issue. The input path looks at C:\Test\
and the input.pdf
file. Output is written in the same directory.
This zip file also contains the input and output file which was produced by running the program.
Note that I did not include the license or NuGet dependencies, so you need to add your license as ReproducePdfaIssue.Properties.Resources.Aspose_Total_NET
and install the latest version of Aspose.PDF
.
It would be great if this can be looked at as it is quite a common issue for me.