![]() |
#1 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Sep 2023
Device: none
|
images per .xhtml file
Greetings,
Recently dealing with some images I had doubts how many should be included per page. What's more convenient, filling the ereader RAM to the max with images in order to reduce internal storage I/O, or fill every .xhtml file with a fewer images? With these two configurations, what would be a smoother turn page experience? I am not to familiar with epub image loading and its optimal epub formating. I'd be glad if anybody can throw some light on this matter. Thanks in advance. |
![]() |
![]() |
![]() |
#2 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,186
Karma: 89201339
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
You don't know what number of pixels wide & high a page is.
You don't know ereader/app ppi. You don't know physical screen size /ratio (Media queries only work on some apps and ereaders and platforms). Epubs that work on any size screen reflow. A new file causes a new page. Once the page is full, the there is a new page. The user can change margins, relative line spacing (if there is no line-spacing) and relative font size, so there is no fixed number of pages for two people using the same ereader or same app on same tablet/phone. Never include line-spacing. It will be automatically suit the font and size, and if not set, the user can change it. It's only relevant for PDFs and so-called "fixed layout"/"Print replica" to decide on page content in advance, and they need a large screen and are not true ebooks. Some ereaders will not display if a file is too large. We test on 4.3" to 10.3" screens for any new kind of content. Do not be concerned about I/O. In general the more files the better, and a new file starts a new page, so novels at least have a file per chapter. Comics might have a file per layout, so in some cases are one image per file. Last edited by Quoth; Today at 05:37 PM. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a way or plugin/script to generate a list of images in the epub (loi.xhtml)? | Tenome | Sigil | 43 | 01-19-2023 04:25 PM |
Conversion from xhtml to epub loose svg images | pwessel | Conversion | 3 | 05-24-2015 11:29 PM |
XHTML file limit? | BobK99 | Sigil | 4 | 03-08-2013 05:38 AM |
ncx file to html/xhtml file | javochase | Conversion | 1 | 06-23-2011 06:57 PM |
xhtml file name change | bobcdy | Sigil | 11 | 10-23-2010 12:05 AM |