You can use the standard PDFA conversion code posted on the Aspose KB: Convert PDF to PDF/A formats|Aspose.PDF for Java
The input PDF is 250kb the resulting PDF is 40+MB and the images in the document which where white background are converted to black background.
Input PDF:
63323767.pdf (517.9 KB)
Resulting PDF screenshot (the resulting PDF is too large 40+MB):
pdfa-pdf-with-inverted-images-and-size-increase.png (48.1 KB)
@jezerinac
Which PDF/A variant are you converting to?
PDF_A_1B, but I’ve tried all of them
@jezerinac
Thank you for writing and providing information/data.
@jezerinac
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PDFNET-54896
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
The issues you have found earlier (filed as PDFNET-54896) have been fixed in Aspose.PDF for .NET 24.4.