PDF/a export increases size dramatically  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
AnMuWK
User
Posts: 30
Joined: Thu Dec 19, 2019 2:20 pm

PDF/a export increases size dramatically

Post by AnMuWK »

Hi,

we are using the PDFAPlugin.pvp to export PDF files as PDF/a conform files. That works quiet well, despite that we are facing issues with some PDF image files.

As an example we have a 12MB file which is PDF/A-1a conform. Want want users to be able to put a stamp onto the document, so we are using DiscardPDFA method, to allow changes on the document. If we now use Save or Export methods, the document is nearly the same size but of course not PDF/a conform.
So we use PDFAPlugin.pvp to export the file a PDF/A-1a with the result that the file is 330MB in size, which is a nightmare. We investigated the files and saw that the problem is the images. They seem to be compressed before and not compressed anymore after PDF/a export.

Is there a way to get back to the original size of 12MB? The original file is already PDF/A-1a conform so the used compression should not be a violation of PDF/a rules anyway.

I could provide a sample PDF, but would do that only on a more private way than attach it to this article here.

Regards
Andreas
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: PDF/a export increases size dramatically

Post by Sasha - Tracker Dev Team »

Hello AnMuWK,

Can that be recreated in the End-User Editor?

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
AnMuWK
User
Posts: 30
Joined: Thu Dec 19, 2019 2:20 pm

Re: PDF/a export increases size dramatically

Post by AnMuWK »

Hi,

yes, we are able to reproduce that behaviour with the latest version we just downloaded.

Regards
Andreas
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: PDF/a export increases size dramatically  SOLVED

Post by Sasha - Tracker Dev Team »

Hello AnMuWK,

Then it's not a SDK issue but an End-User one and it should be investigated there. Please post to the appropriate End-User forum - you will be assisted there.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply