![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Mar 2018
Device: Kindle Paperwhite
|
MOBI to EPUB conversion
Hello, I tried converting a MOBI file which is about 50MB in size to EPUB using Caliber. The EPUB gets reduced to about 30MB, so I suppose there's some compression involved in the process.
I'm wondering is there a way to do a 1:1 conversion from MOBI to EPUB with no compression (or minimal compression)? Any suggestion appreciated. Thanks. Zoltan |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,079
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,343
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Not to mention that since MOBI and EPUB use different compression techniques, comparing their file sizes does not mean much.
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Both classic MOBI and ePub are compressed formats. You can't have an ePub without it being compressed. An ePub file is a special case ZIP archive. Classic MOBI files are encoded much like compiled programs. As Kovid mentioned, they are different compression methods that produce differing results. Also, the file structure is different and that will have an impact on file size.
mbovenka's point comes into play if the book contains images. The output profile you choose for conversion can resize and recompress the images leading to differing sizes. |
![]() |
![]() |
![]() |
#5 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
The OP is probably conflating compression with lossiness. ZIP* is lossless, à la FLAC or PNG. You don’t lose quality or information with it like you would with a lossy format (e.g. MP3 or JPG).
So as long as you’ve got the output format set correctly (as mbovenka says), then you shouldn’t worry about it. *Technically, DEFLATE (LZ77/Huffman) compression, which is what ZIP uses in the vast majority of real-world cases |
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
PNG (Portable Network Graphic) is a bitmap format and not a compression algorithm. PNG images can be compressed or uncompressed, and if compressed can use either lossless or lossy compression. It is quite false to assume that PNGs are compressed or that if compressed the compression is lossless. |
|
![]() |
![]() |
![]() |
#8 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
Quote:
You could obviously do lossy pre-processing on any format, and you wouldn't say that FLAC is lossy just because someone chose to do a pre-pass on the data to lower the effective bitrate before FLAC-encoding it. |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
conversion from EPUB to MOBI | stoneturner | Conversion | 2 | 09-22-2015 10:55 AM |
conversion from mobi to epub | barbados1952 | Conversion | 9 | 05-09-2013 10:01 PM |
Conversion from mobi (to mobi, or epub) breaks internal links | bounder | Conversion | 1 | 10-09-2012 11:56 AM |
Epub to Mobi conversion | MichaelGray | Calibre | 2 | 08-12-2010 01:08 PM |