Highlighted

Compression of PDF - e.g. Bible shorter than .txt

New Here ,
Mar 08, 2020

Copy link to clipboard

Copied

Dear Community

I found the (german) Bible under https://info2.sermon-online.com/german/MartinLuther-1912/ 

In this the PDF-version (3'736 KB) is much shorter than the TXT-version (4'368 KB) :

 Martin_Luther_Uebersetzung_1912.pdf2016-03-15 08:093.6M
 

 

Martin_Luther_Uebersetzung_1912.txt2014-02-03 00:064.2M

I counted the character (of the pure text) and found 4'016'646 charachters in the TXT-version. The PDF-version is less (3.6M only). How is it possible? 

Thanks for any explanation.

Bruno Meier

 

 

Views

80

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Compression of PDF - e.g. Bible shorter than .txt

New Here ,
Mar 08, 2020

Copy link to clipboard

Copied

Dear Community

I found the (german) Bible under https://info2.sermon-online.com/german/MartinLuther-1912/ 

In this the PDF-version (3'736 KB) is much shorter than the TXT-version (4'368 KB) :

 Martin_Luther_Uebersetzung_1912.pdf2016-03-15 08:093.6M
 

 

Martin_Luther_Uebersetzung_1912.txt2014-02-03 00:064.2M

I counted the character (of the pure text) and found 4'016'646 charachters in the TXT-version. The PDF-version is less (3.6M only). How is it possible? 

Thanks for any explanation.

Bruno Meier

 

 

Views

81

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Mar 08, 2020

Copy link to clipboard

Copied

This is the result of text compression.

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Mar 08, 2020

Copy link to clipboard

Copied

Of course!

But how ist it done?

Does PDF not need 8 Bit per character?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Mar 08, 2020

Copy link to clipboard

Copied

A PDF uses more space than TXT but then it is compressed. To oversimplify, parts of the file as ZIP compressed. ZIP your text file, it will probably be smaller still. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Mar 08, 2020

Copy link to clipboard

Copied

Read this:

https://www.prepressure.com/library/compression-algorithm/flate-deflate

 

A simple example:

When there are 5 characters "a" the algorithm uses onle one "a".

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Mar 08, 2020

Copy link to clipboard

Copied

Thanks. ZIP-compression is much stronger. The TXT-version (4'368 KB) of the Bible by ZIP use 32.5% only.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Mar 08, 2020

Copy link to clipboard

Copied

Thanks for the hint in the "flate-deflate". By the way: there are some 2% of multible characters in Bible text.

kind regards

Bruno Meier

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Adobe Community Professional ,
Mar 08, 2020

Copy link to clipboard

Copied

I posted a simplified example.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
New Here ,
Mar 08, 2020

Copy link to clipboard

Copied

Yes

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources
Trending Issue & Solution
Edit PDF in Adobe Acrobat Pro DC