Hi Support,
This might go to EU Editor forum, but since this is more related to internal coding and PDF structure I'll ask the question here...
I have a 1.3 PDF document and need to "upgrade" it to (at least) 1.4.
I'm using "Save As Optimized" and selecting "Make Compatible With: Version 1.4 (Acrobat 5.0 and later)" + all other settings as default.
The original document has "%PDF-1.3" in File Header and "/1.3" in Trailer / Root / Doc Catalog / Version entry.
The resulting optimized PDF has "%PDF-1.4" in File Header but still "/1.3" in Trailer / Root / Doc Catalog / Version entry.
Any reason for this? Why not update the Catalog's Version entry also?
The document has only one trailer - so no incremental updates.
-žarko
Optimize document - upgrade version from 1.3 to 1.4 - Catalog Version entry remains /1.3 SOLVED
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.
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.
-
- User
- Posts: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Optimize document - upgrade version from 1.3 to 1.4 - Catalog Version entry remains /1.3
Hello zarkogajic,
If we look in the PDF Specification, we can see this:
Cheers,
Alex
If we look in the PDF Specification, we can see this:
Meaning that what is written in the catalog is simply being ignored - the greater value is taken.Version
(Optional; PDF 1.4) The version of the PDF specification to which the
document conforms (for example, 1.4) if later than the version
specified in the file’s header (see 7.5.2, "File header"). If the header
specifies a later version, or if this entry is absent, the document shall
conform to the version specified in the header. This entry enables a
PDF processor to update the version using an incremental update;
see 7.5.6, "Incremental updates".
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
Re: Optimize document - upgrade version from 1.3 to 1.4 - Catalog Version entry remains /1.3
Hi Alex,
Thanks. I actually wanted to also add that quote to my post
To rephrase the question: why left "/1.3" in Catalog?
-žarko
Thanks. I actually wanted to also add that quote to my post
To rephrase the question: why left "/1.3" in Catalog?
-žarko
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Optimize document - upgrade version from 1.3 to 1.4 - Catalog Version entry remains /1.3
Hello zarkogajic,
Because the Specification allows this - that's all I can say.
Cheers,
Alex
Because the Specification allows this - that's all I can say.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Optimize document - upgrade version from 1.3 to 1.4 - Catalog Version entry remains /1.3
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ