07-01-2019, 10:24 AM | #1 |
Enthusiastic reader
Posts: 423
Karma: 3860889
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
|
Max size of a kepub
I found two epubs of over 130MB Both of them have inside pictures and links. I converted them with kepubify and they're working well!!
So now two questions naturally rise: How did the author make them? Which is the real size limit of an epub? |
07-01-2019, 10:49 AM | #2 |
Grand Sorcerer
Posts: 12,167
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I'm not aware of any size restrictions. Yes the are suggested size limits for the individual XHTML files that comprise the kepub, and the are also guidelines for image sizes.
Here is Kibi's documentation on kepubs https://github.com/kobolabs/epub-spec Sent from my moto g(7) power using Tapatalk |
Advert | |
|
07-01-2019, 01:49 PM | #3 | |
Bibliophagist
Posts: 35,401
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
As for size limits, as long as the html/xhtml files don't get horrendously large (I've created test epubs with 1-2MB files and they worked but with some performance issues when using links between chunks) and keep the images to reasonable sizes, the maximum size is more likely to be limited by your devices hardware and software than any innate size limit in an epub. Edit: with older ereaders using RMSDK, there were issues with larger html files leading to a recommendation of 300K maximum per html file. That has not been an issue with Adobe ADE/RMSDK since ~2009. Last edited by DNSB; 07-01-2019 at 01:52 PM. Reason: Adding comment about older software |
|
07-01-2019, 02:44 PM | #4 |
the rook, bossing Never.
Posts: 11,158
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Absolutely, it's images, then fonts that cause a big jump in size.
|
07-02-2019, 02:25 AM | #5 |
Enthusiastic reader
Posts: 423
Karma: 3860889
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
|
|
Advert | |
|
07-02-2019, 02:33 AM | #6 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
07-02-2019, 01:08 PM | #7 |
Bibliophagist
Posts: 35,401
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
My personal preference for an epub editor is Sigil along with calibre's editor for some tasks where switch editors makes them easier. That both are open source and free is a bonus for me.
Please note that generally, I am not creating an epub. I am either editing an epub for my personal use to correct what I regard as egregious formatting errors or to help someone who is having issues getting their epub into a publishable form. I have used various epub authoring tools (InDesign, Vellum, Atlantis, etc.) but Sigil and calibre make it easier to get to the source files rather than using a WYSIWYG editing mode. |
07-02-2019, 01:47 PM | #8 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
I tend to create and edit my books manually using a code editor (my favourite is VSCode). I've been working intermittently on my tool, epubtool, which automates some of the common tasks I perform (unpacking/packing epubs, modifying metadata, and performing transformations on the HTML). I used to use a bunch of custom scripts, but I'm currently adding those features to epubtool as I have time.
|
07-02-2019, 04:16 PM | #9 |
Wizard
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
How do the e-readers process a book when it's being read? I was thinking that they'd extract the css files and have them on the drive or in ram and then stream into ram (unzipping the bytes as needed) the xhtml chapter files. I would think that with doing that that there would be minimal penalty for huge xhtml files.
|
07-02-2019, 05:12 PM | #10 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Even if you don't want to be bothered writing full-blown calibre GUI plugins you can still access all the same functions from simple python scripts outside calibre. Neither do the epubs need to be in a calibre library structure. |
|
07-02-2019, 06:21 PM | #11 | ||
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Quote:
P.S. I'm also slightly stubborn about avoiding Calibre too. Last edited by geek1011; 07-02-2019 at 06:24 PM. |
||
07-02-2019, 06:42 PM | #12 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
All of which is your prerogative, of course, but for the record none of the epub edit/manipulation functions I was talking about add any unwanted calibre* classes to html or css. Perhaps you're confusing simple calibre epub edit functions with full calibre format conversions.
|
07-02-2019, 06:56 PM | #13 | |
Wizard
Posts: 1,142
Karma: 5061953
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
Quote:
|
|
07-02-2019, 07:07 PM | #14 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Although it is not strictly necessary to load the entire html file before beginning to display the results, it is necessary to retain everything in memory until the end of the file is reached, and so the size of the html file (or more strictly, the size of the final data structure built from parsing the entire html file, which is probably much larger then the size of the file) is a limiting factor. From what I have observed on my Glo, there is a noticable delay in the KePub reader when starting a new chapter, more noticable when the html file is large, so the KePub reader is probably parsing the entire html file before it displays the first page. But there is no extra delay when starting a new chapter in the ePub reader, so I think the ePub reader parses the html file as it goes. (There is a delay when paging backward to the end of the previous chapter in both readers though, because in that case they both need to parse the whole file from the beginning before they can display the final page.) |
|
07-02-2019, 11:05 PM | #15 |
Wizard
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
Including the text, or just the html/xml tag tree structure?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font size difference between ePub & kepub | JSWolf | Kobo Reader | 12 | 09-08-2020 11:03 AM |
Size of images in epub/kepub | Patricius | Kobo Reader | 6 | 01-20-2019 09:29 PM |
Smaller font size for kepub compared to epub on Kobo Aura HD | yevgeny.bezman | Kobo Reader | 2 | 07-14-2015 12:16 PM |
Aura HD Diferent font size in epub and kepub | ersott | Kobo Reader | 24 | 04-15-2014 07:03 AM |
Why the size difference between kepub & epub. | Nascarfan1972 | Kobo Reader | 3 | 12-28-2012 08:18 PM |