|
|
#1 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 101570
Join Date: Jul 2011
Location: Vancouver, BC
Device: Black Kobo Touch
|
Reducing the size of epub files?
I tried doing a search but couldn't find anything. Is there a way to reduce the size of larger epub files? I have a few that seem to be very large, even though they don't contain illustrations or anything like that. They're generally the kepubs I buy from Kobo--I've noticed those tend to be on the larger side. Not sure if this is a silly question or not, but I figured it couldn't hurt to ask.
|
|
|
|
|
|
#2 |
|
Book Twiddler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 982
Karma: 1118807
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Are you sure contain no images? Open them up with a zip program or Sigil and see if any images are shown. It may be that some pages have been saved as images instead of converted to text.
You might also check the stylesheet and see how many items are there. If it is converted poorly from Word, it could be bloated with huge numbers of extra styles which take up space in the stylesheet and even more in the text. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 101570
Join Date: Jul 2011
Location: Vancouver, BC
Device: Black Kobo Touch
|
Hmm.
I'm very sure that the ones I have in mind don't contain illustrations, so I'll have to figure out working with the stylesheet, which I haven't played with yet. And I'm new to Sigil, so that will take a bit of mucking about as well. Thanks for the response! |
|
|
|
|
|
#4 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 298951
Join Date: Nov 2009
Location: Romania
Device: iPod touch 2G (16 GB)
|
There's also the issue with embedded fonts. Acrobat can subset glyphs from a font for PDF files, whereas ePub files will contain the entire font. This means that if you're only using one character from a 600 KB font file, the entire font file will be embedded, where it would only take 6-10 KB in a subset. And if you use 10 different 600 KB font families... You get the idea.
But in general, images usually take up the most amount of space.
__________________
The The Impotence of Proofreading LayoutPrep – a custom Word macro that preps your OCR content for styles Resources for identifying fonts Last edited by DSpider; 01-02-2013 at 07:50 AM. |
|
|
|
|
|
#5 |
|
Book Twiddler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 982
Karma: 1118807
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
The images may not be illustrations, but whole pages. Or there may be hidden spacers.
Just start Sigil, Open the file and look in the left side under the book browser. There will be a folder for Styles. If there is a plus on it, click it and any stylesheets will appear. Double click on any one of them and it will appear in the main window. Then you can look at it to see what is there. Otherwise, click on any + that is with the Images folder and see what pops up. Ditto with the fonts folder. You don't have to know what to do about anything you find, but at least it will put you on the track of what might be making the file large. |
|
|
|
|
|
#6 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,842
Karma: 23400772
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
|
Kepub is not epub. No matter how similar the names sound. Keypubs contain database-like elements for all kinds of extra "features." If file-size is that much of a concern, then re-download the books from Kobo in the standard epub format instead of their proprietary keypub format. I think you'll find the size more like what you would expect, based on content.
__________________
“Politics: A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage.” Last edited by DiapDealer; 01-02-2013 at 01:43 PM. |
|
|
|
|
|
#7 | |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,227
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Quote:
What I do is take the finished ePub, load it into Calibre, convert to ePub using subsetting and then I take the font directory out of the converted ePub, replace the font directory in the finished ePub, fix the CSS/OPF as needed to match the fonts and done. Now I have an much smaller ePub with subsetted fonts.
__________________
|
|
|
|
|
|
|
#8 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,116
Karma: 958803
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
Calibre does? That would be nice. Perhaps I should look up the part in the source that does the subsetting and see if I can use it outside Calibre.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
|
|
#9 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,227
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
It does and it works in both ADE and KF8 (at least on eInk Kindles).
__________________
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reducing Paperwhite Glowlight/Screensaver Timeout? | rubbercow | Kindle Developer's Corner | 0 | 12-26-2012 10:05 PM |
| Removing files of zero size in Calibre | zynster | Library Management | 4 | 05-21-2012 07:40 AM |
| Calibre reducing image sizes? | HarryT | Conversion | 2 | 04-21-2011 08:18 AM |
| PRS-600 Reducing glare with plastic cover | NoHolyGrail | Sony Reader | 2 | 08-05-2010 10:15 PM |
| Reducing line spacing | rjcroy | Kobo Reader | 3 | 06-11-2010 09:23 PM |