04-09-2017, 06:47 AM | #1 |
Zealot
Posts: 106
Karma: 8300
Join Date: Jul 2012
Location: France
Device: Kobo Aura H2O, Kobo Touch, Kobo Mini
|
Which JPEG compresion algorithms in ebook editor?
I love the ebook editor and I use it daily, but, just out of curiosity I would like to know which algorithms are used in JPEG lossless compression of covers and images.
I get better results (about 6%) with it than with Timo Kokkonen's jpegoptim, which strips metadata and optimizes Huffman tables for lossless compression. Are you using wavelet compression? I heard about applying some sort of JP2000 algorithm on JPEG files. Last edited by Francois_C; 04-09-2017 at 06:55 AM. |
04-09-2017, 06:48 AM | #2 |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The editor's compression also removes the crud from graphics and optimizes them.
|
04-09-2017, 07:55 AM | #3 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
mozjpeg is used for jpeg compression.
|
04-09-2017, 08:17 AM | #4 |
Zealot
Posts: 106
Karma: 8300
Join Date: Jul 2012
Location: France
Device: Kobo Aura H2O, Kobo Touch, Kobo Mini
|
Thank you, Kovid and JSWolf.
So, I'll have a look to mozjpeg. I had forgotten to change DCT to progressive with jpegoptim, (as Calibre does), but Calibre/mozjpeg is still 1% better. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Looking for a book -- Introduction to Algorithms | mouse_wireless | Amazon Kindle | 12 | 12-05-2015 12:51 PM |
Pdf (with graphics and math algorithms to Mobi): tried everything, nothing work...... | Sintetico | Conversion | 6 | 10-01-2015 12:32 PM |
How do algorithms work? | Russell Brooks | General Discussions | 13 | 11-12-2013 01:18 PM |
Greetings from an ebook Anthology Editor! | chawkins | Introduce Yourself | 2 | 09-17-2011 05:42 PM |
iLiad xepdmgr algorithms dicussion thread | Antartica | iRex Developer's Corner | 14 | 11-17-2008 10:36 AM |