Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-22-2011, 02:01 PM   #1
Araucaria
Bibliophile
Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.
 
Araucaria's Avatar
 
Posts: 96
Karma: 551266
Join Date: Jul 2011
Location: Cantal in the French Auvergne
Device: Kindle 3
File sizes - why the difference?

A friend gave me a copy of a long and well-known book in mobi format. The file size was then about 2500KB. I have the hardback original which is 350 pages or a bit more, plus a couple of illustrations. To my annoyance, I found that a page had been repeated in digitising it, starting half-way through a sentence. In fact it had been repeated a second time, too. Not having a mobi file editor, I used Calibre to convert it into an epub file, then opened it in Sigil and deleted the repeated passages (just two pages). I then used Calibre to convert it back to a mobi file.

To my surprise, the resulting mobi file is less than half the size of the original, just over 1000KB. But apparently it's just the same as the original (but two pages smaller). For the rest of the book, I couldn't spot any difference at all in what was on my Kindle.

I'm sure there's a simple explanation, but I can't imagine what it is. Can anyone explain?
Araucaria is offline   Reply With Quote
Old 11-22-2011, 02:22 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,121
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Araucaria View Post
A friend gave me a copy of a long and well-known book in mobi format. The file size was then about 2500KB. I have the hardback original which is 350 pages or a bit more, plus a couple of illustrations. To my annoyance, I found that a page had been repeated in digitising it, starting half-way through a sentence. In fact it had been repeated a second time, too. Not having a mobi file editor, I used Calibre to convert it into an epub file, then opened it in Sigil and deleted the repeated passages (just two pages). I then used Calibre to convert it back to a mobi file.

To my surprise, the resulting mobi file is less than half the size of the original, just over 1000KB. But apparently it's just the same as the original (but two pages smaller). For the rest of the book, I couldn't spot any difference at all in what was on my Kindle.

I'm sure there's a simple explanation, but I can't imagine what it is. Can anyone explain?
Many conversions leave kruft from the original source or previous (program x) conversion.
Calibre has its own process and may clean up a lot of inline code (style sheet stuff...)
Sometimes... Just sometimes. A odd original coding may result in a larger file.
theducks is offline   Reply With Quote
 
Enthusiast
Old 11-22-2011, 03:18 PM   #3
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,428
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Sigil and calibre both perform cleaning of the internal markup. Also calibre produces compressed MOBI files by default. The starting MOBI may not have been using compression.
user_none is offline   Reply With Quote
Old 11-22-2011, 04:31 PM   #4
Araucaria
Bibliophile
Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.
 
Araucaria's Avatar
 
Posts: 96
Karma: 551266
Join Date: Jul 2011
Location: Cantal in the French Auvergne
Device: Kindle 3
Thanks guys, very helpful. It seemed a bit spooky!
Araucaria is offline   Reply With Quote
Old 11-22-2011, 07:52 PM   #5
baliantas
Junior Member
baliantas began at the beginning.
 
baliantas's Avatar
 
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: Sony PRS-350
Hello Araucaria,

You might also keep in mind that Calibre resizes images based on the output profile you chose in the conversion settings ("page setup"). This might result in a drastically smaller epub/mobi file... That's my experience at least.
baliantas is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Book/file sizes in Calibre cavgirl Calibre 2 11-12-2010 08:15 PM
Splitting large file sizes ... Hangman Calibre 1 04-05-2010 10:01 PM
Epub file sizes jerryleejr Sony Reader 6 07-28-2008 03:09 PM
eBook File Sizes Compared Colin Dunstan Workshop 2 09-15-2003 11:08 AM


All times are GMT -4. The time now is 01:04 AM.


MobileRead.com is a privately owned, operated and funded community.