Hi
The attached file is 2.92 MB in its native form. After a simple change (like highlighting of one word) and saving the file, it blows up to 10 MB.
How this?
Thanks, Ernst
File blows up after simple change
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
File blows up after simple change
- Attachments
-
- CHOP-2012.pdf
- CHOP-2012.pdf
- (2.93 MiB) Downloaded 896 times
- Tracker Supp-Stefan
- Site Admin
- Posts: 17929
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: File blows up after simple change
Hello Ernst,
I have asked our devs to check why this is happening as I did manage to reproduce it at my end.
We will post again in this topic later when we have a bit more news.
Best,
Stefan
I have asked our devs to check why this is happening as I did manage to reproduce it at my end.
We will post again in this topic later when we have a bit more news.
Best,
Stefan
- Lzcat - Tracker Supp
- Site Admin
- Posts: 677
- Joined: Thu Jun 28, 2007 8:42 am
Re: File blows up after simple change
This is hybrid document - document produced using a recent update to the PDF specification (e.g. features like compressed objects and xref streams, added in spec. version 1.5), but with PARTIAL compatibility with older readers which do not understand these new features.
Therefore this file reports that that it has PDF spec version 1.3 (but in fact it is 1.5 or higher). Normally hybrid files should contain another record with the real PDF spec. version (older readers ignore it), but this file does not contain this and thus has been incorrectly formatted.
So when our Viewer saves this file it assume that it is has PDF spec. version 1.3 and tries to save it with the minimum supported PDF spec. we support - V1.4 (it is supported in most older readers). But 1.4 spec. version does not allow compress objects or use object streams, so file became much larger.
In the attached file I have changed only one byte to "upgrade" it to version 1.5, now it saves almost as the same size.
Therefore this file reports that that it has PDF spec version 1.3 (but in fact it is 1.5 or higher). Normally hybrid files should contain another record with the real PDF spec. version (older readers ignore it), but this file does not contain this and thus has been incorrectly formatted.
So when our Viewer saves this file it assume that it is has PDF spec. version 1.3 and tries to save it with the minimum supported PDF spec. we support - V1.4 (it is supported in most older readers). But 1.4 spec. version does not allow compress objects or use object streams, so file became much larger.
In the attached file I have changed only one byte to "upgrade" it to version 1.5, now it saves almost as the same size.
- Attachments
-
- CHOP-2012 - Copy.pdf
- (2.93 MiB) Downloaded 243 times
Victor
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software
Project manager
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: File blows up after simple change
Marvellous
You guys are extremly quick an helpful - as always
Ernst
I guess I couldn't have done this change to 1.5 by myself?
You guys are extremly quick an helpful - as always
Ernst
I guess I couldn't have done this change to 1.5 by myself?
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Re: File blows up after simple change
Hi Ernst - u could but it would not be reccomended as you may inadvertenty cause other issues.
If you do try - always work on a copy and not the original...
If you do try - always work on a copy and not the original...
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com