05-17-2016, 02:16 AM | #16 | |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
Some months ago, I had full screen image display. A rigid kind of display but a full screen one. EDIT: Joint here, an example of what I get. It's the same with integrated style or customized one (after I tweaked the epub.css stylesheet.). Stamp size, really? Last edited by roger64; 05-19-2016 at 01:47 AM. Reason: Edit with example image |
|
05-20-2016, 01:34 AM | #17 |
Addict
Posts: 251
Karma: 214890
Join Date: Sep 2006
Device: none
|
And what is original image size? I.e. how will it look with scaling off? Small picture scaled to whole page would look bad. crengine has compile time constant that limits scaling factor MAX_IMAGE_SCALE_MUL which is 2 by default, if I remember correctly. It can be increased to 3. Don't know how crengine for KOReader is built.
|
05-20-2016, 05:51 AM | #18 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Hi
The size of this particular image (not including caption) is 365×480px. I have some others, whose width is between 317 to 386 (height stays at 480) which are also displayed stamp size. These are the current values in cr3.ini. (to tell the truth I do not understand how it's supposed to work) I tried different ones between 0 and 2, to no avail... Spoiler:
Last edited by roger64; 05-20-2016 at 05:53 AM. |
05-20-2016, 07:14 AM | #19 |
Addict
Posts: 251
Karma: 214890
Join Date: Sep 2006
Device: none
|
So, the image is unscaled then. Could it be that this image is inline? Although this image doesn't look like it is inline. This is the only reason I can think of why it is not scaled. Because in your setting zoom is turned off for inline images only.
|
05-20-2016, 10:44 AM | #20 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
I tried again, selecting a 2 instead of 0 in the above values. To say it otherwise, everything is now set at 2. It changes nothing for the display.
Further down, css and html related code. Spoiler:
Last edited by roger64; 05-20-2016 at 11:58 AM. |
05-20-2016, 02:30 PM | #21 | |||
Member
Posts: 14
Karma: 116
Join Date: Feb 2016
Device: Kobo Glo HD
|
Quote:
Quote:
Quote:
#1969 #1980 Regards. Last edited by djalma; 05-20-2016 at 02:32 PM. |
|||
05-20-2016, 03:45 PM | #22 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Thanks for your information.
I did a little experiment using an excellent illustrated EPUB that has been published here (Claudio Bombarnac) and I made a comparison with the integrated style activated or not (screenshot 1 and 2). It seems that the Koreader software takes correctly into account the following CSS: width:80% for the top image and width: 5em for the lower one when using the integrated style while the display of the non integrated style stays very poor. The image sizes are 310×438 for the top one and 400×157 for the lower one (small train). I will try to use width instead of max-width which seems to be unsupported. I know also that the property float is unsupported. Last edited by roger64; 05-20-2016 at 04:03 PM. Reason: link |
05-20-2016, 04:30 PM | #23 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
To follow on this.
I managed to get a full page display with a non activated style, by choosing a style sheet to display (say epub.css) and adding to it a value of width:100%. like this Code:
img { text-align: center; text-indent: 0px; display: block; width:100%; } Further Koreader ignores how to display svg image wrappers and display their images stamp size. Image support seems to be very incomplete. Last edited by roger64; 05-20-2016 at 04:35 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Image not display after convert book | bhambhu | Calibre | 0 | 02-03-2016 05:17 AM |
image caption display | xmlgirl | ePub | 1 | 05-21-2015 10:24 PM |
Display of a png image linked to a svg image | roger64 | Editor | 6 | 03-13-2015 06:21 AM |
full page image problems with iBooks/cover problems in iTunes | iain robinson | ePub | 1 | 06-28-2013 11:10 AM |
Cover Image Display | JoeD | OpenInkpot | 9 | 05-05-2009 12:42 AM |