Page 1 of 1
Optimization Differences Compared To Chrome
Posted: Wed Aug 08, 2018 2:22 pm
by abcjme
I have a txt file that's 4.06 kb:
https://www.dropbox.com/s/1zsege77429174z/9.txt?dl=0
Chrome conversion:
Chrome conversion optimized:
PDF-Tools conversion:
PDF-Tools conversion optimized:
The PDF-Tools converted file is much smaller than the Chrome conversion.
The PDF-Tools converted optimized file is smaller still, and is even smaller than the original txt file.
The Chrome converted optimized file is even bigger than the non-optimized version.
It's unfortunate because Chrome converts spacing characters more accurately.
Optimization setting used is "1":
https://www.dropbox.com/s/8rkqle8xvu0cr ... .pdts?dl=0
Re: Optimization Differences Compared To Chrome
Posted: Wed Aug 08, 2018 3:12 pm
by Tracker Supp-Stefan
Hello abcjme,
PDF Files can use compression - and when your text document is the same character over and over again - this normally compresses quite well.
If it was a longer file - the PDF we create would compress even more relative to the original size of the .txt file.
As for why Chrome makes the file bigger - it has embedded the font - and this uses up space.
Regards,
Stefan
Re: Optimization Differences Compared To Chrome
Posted: Thu Aug 09, 2018 7:38 am
by abcjme
Tracker Supp-Stefan wrote:Hello abcjme,
PDF Files can use compression - and when your text document is the same character over and over again - this normally compresses quite well.
If it was a longer file - the PDF we create would compress even more relative to the original size of the .txt file.
As for why Chrome makes the file bigger - it has embedded the font - and this uses up space.
Regards,
Stefan
I changed the optimization settings to "Unembed all fonts". The Chrome converted optimized file still ends up bigger.
On a side note, changing a circular option in "Fonts" doesn't open up the option to Save Current Settings, if that's the only change you've made.
Re: Optimization Differences Compared To Chrome
Posted: Thu Aug 09, 2018 8:54 am
by Tracker Supp-Stefan
Hello abcjme,
I can not comment on why Chrome does things the way it does - even despite your settings!
I can try and help with the Editor, and it does seem to be producing the smaller files already
Where is this "Circular option" you refer to? Can I get a screenshot illustrating it?
Cheers,
Stefan
Re: Optimization Differences Compared To Chrome
Posted: Thu Aug 09, 2018 1:20 pm
by abcjme
Tracker Supp-Stefan wrote:Hello abcjme,
I can not comment on why Chrome does things the way it does - even despite your settings!
I can try and help with the Editor, and it does seem to be producing the smaller files already
Where is this "Circular option" you refer to? Can I get a screenshot illustrating it?
Cheers,
Stefan
Clarification here:
https://www.dropbox.com/s/97ud0w0r4oczr ... s.mp4?dl=0
Re: Optimization Differences Compared To Chrome
Posted: Thu Aug 09, 2018 2:06 pm
by Tracker Supp-Stefan
Hello abcjme,
Thanks for the video.
The PDF file format is quite complex, and there could be a lot of information that will increase a file's size without this adding any visible content on the page(s) of the resulting document.
Unfortunately I do not have the tools that e.g. our dev team has to 'dissect' the chrome file and see what is different than the file we produce, but I suspect it's e.g. some metadata that they add.
If our tools were producing the larger files - I would be happy to pass those on to the devs to look at why we produce the worse result, but when our products are doing the better job - I am not in a position to comment on why Google are not doing it as well as we do
Regards,
Stefan
Re: Optimization Differences Compared To Chrome
Posted: Thu Aug 09, 2018 8:56 pm
by abcjme
Tracker Supp-Stefan wrote:Hello abcjme,
Thanks for the video.
The PDF file format is quite complex, and there could be a lot of information that will increase a file's size without this adding any visible content on the page(s) of the resulting document.
Unfortunately I do not have the tools that e.g. our dev team has to 'dissect' the chrome file and see what is different than the file we produce, but I suspect it's e.g. some metadata that they add.
If our tools were producing the larger files - I would be happy to pass those on to the devs to look at why we produce the worse result, but when our products are doing the better job - I am not in a position to comment on why Google are not doing it as well as we do
Regards,
Stefan
Ah, kk, understood.
Re: Optimization Differences Compared To Chrome
Posted: Thu Aug 09, 2018 9:27 pm
by Paul - Tracker Supp