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

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-17-2016, 02:16 AM   #16
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by JSWolf View Post
It depends on the resolution of the images and the code used to display the images.
But if it was only so, some images would surely display full page. Now, for me, no one does... Some koreader code somewhere blocks the display and it seems it's not in ../data/cr3.ini.

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?
Attached Thumbnails
Click image for larger version

Name:	Reader_2016-May-19_074014.png
Views:	397
Size:	105.1 KB
ID:	148756  

Last edited by roger64; 05-19-2016 at 01:47 AM. Reason: Edit with example image
roger64 is offline   Reply With Quote
Old 05-20-2016, 01:34 AM   #17
pkbo
Addict
pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.
 
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.
pkbo is offline   Reply With Quote
Old 05-20-2016, 05:51 AM   #18
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
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:

crengine.image.scaling.zoomin.block.mode=2
crengine.image.scaling.zoomin.block.scale=2
crengine.image.scaling.zoomin.inline.mode=2
crengine.image.scaling.zoomin.inline.scale=0
crengine.image.scaling.zoomout.block.mode=2
crengine.image.scaling.zoomout.block.scale=2
crengine.image.scaling.zoomout.inline.mode=2
crengine.image.scaling.zoomout.inline.scale=0

Last edited by roger64; 05-20-2016 at 05:53 AM.
roger64 is offline   Reply With Quote
Old 05-20-2016, 07:14 AM   #19
pkbo
Addict
pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.
 
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.
pkbo is offline   Reply With Quote
Old 05-20-2016, 10:44 AM   #20
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
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:

div.img {
text-align: center;
text-indent: 0;
margin: 0;
padding: 0;
}

<div class="img">

<img alt="commandant Henry" style="max-width:75%" src="../Images/Image-02.jpg"/>

</div>

<p class="caption">Le commandant Henry</p>


Last edited by roger64; 05-20-2016 at 11:58 AM.
roger64 is offline   Reply With Quote
Old 05-20-2016, 02:30 PM   #21
djalma
Member
djalma doesn't litterdjalma doesn't litter
 
Posts: 14
Karma: 116
Join Date: Feb 2016
Device: Kobo Glo HD
Quote:
Originally Posted by roger64 View Post
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...

Quote:
Originally Posted by roger64 View Post
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:

div.img {
text-align: center;
text-indent: 0;
margin: 0;
padding: 0;
}

<div class="img">

<img alt="commandant Henry" style="max-width:75%" src="../Images/Image-02.jpg"/>

</div>

<p class="caption">Le commandant Henry</p>

Extracted from #2017 that isn't related to this (in a exact way):
Quote:
Originally Posted by frankyifei commented 11 days ago • edited

it disabled zoom in of low resolution image from that version. So try to use a higher resolution image for cover
I think that since 2015-11-31X they (devs) changed the koreader's behaviour related to this:
#1969
#1980

Regards.

Last edited by djalma; 05-20-2016 at 02:32 PM.
djalma is offline   Reply With Quote
Old 05-20-2016, 03:45 PM   #22
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
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.
Attached Thumbnails
Click image for larger version

Name:	FileManager_2016-May-20_212038.png
Views:	388
Size:	176.7 KB
ID:	148815   Click image for larger version

Name:	FileManager_2016-May-20_212058.png
Views:	359
Size:	155.3 KB
ID:	148816  

Last edited by roger64; 05-20-2016 at 04:03 PM. Reason: link
roger64 is offline   Reply With Quote
Old 05-20-2016, 04:30 PM   #23
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
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%; 
}
However, as you can imagine this works well only for some images. Others can be very distorted... One size cannot fit all.

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.
roger64 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
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


All times are GMT -4. The time now is 06:19 AM.


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