![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40
Karma: 1010
Join Date: Jun 2016
Device: Kobo Glo HD, Kobo Aura One
|
No Header keep footer - Image size
Hi,
I've got a kobo Glo HD. I've been looking arounf but I haven't been able to find a solution for this. 1- Is there a way to remove the header on kepubs but keeping the footer? I don't want to convert the files to epuv since I'll lose some functions. 2- I know the ppi is really high on this device, but I prevously owned a kindle paperwhite 2015 with the same ppi and the images showed up fine. The problem is guess this has something to do with the resolution but they were showing up fine on the kindle. Any way to fix this? If there are other posts about this I haven't found them. |
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,718
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40
Karma: 1010
Join Date: Jun 2016
Device: Kobo Glo HD, Kobo Aura One
|
Thanks for replying. The thing is the kindle paperwhite has the same screen resolution and images are not that small. I opened one using Google play books on a tablet an they aren't that small either. I'm guessing is a setting on the kobo reader but I don't know if it can be modified.
|
![]() |
![]() |
![]() |
#4 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
But this no longer works in the current firmware, and there is no other way I know to remove the KePub header without removing the footer too. Quote:
Apart from that, it is up to the publisher to set the size of the image in the book. If the publisher doesn't specify a size then the image is displayed at its natural pixel size. Unfortunately many publishers either don't bother to specify a size, or else specify an absolute or pixel size that will only look right on devices with a certain screen resolution. (The strange thing is that some publishers do the cover image correctly, proving that they know how to size the images relative to screen size, but then fail to do the same for the other images in the book.) What the publisher should do is specify the image size relative to the screen size of the device it is being displayed on (by using height:90%; for example), or in some cases relative to the font size the reader has selected (using height:2em; for example.) If this is the problem then all you can do is edit the book before sideloading. There are two approaches to editing the image sizes for the book: 1. Use image manipulation tools such as ImageMagick to resize all the images in the book to suit your device. This works for those cases where the publisher has not specified a size for the images in the CSS/HTML. e.g. if the publisher has made the images sized to suit a 600x800 screen, then resizing with a scale factor of 180% should make them the right size for a 1080x1440 device. This can often be done with a single command (mogrify -resize 180% *.jpg). The advantage of this approach is that it is easier for books where there are a large number of images, and it doesn't require any knowledge of CSS/HTML. The disadvantage is that it will have to be re-done when you want to load the book to another device with a different size screen, and it might not work if the publisher has specified an absolute or pixel size in the CSS/HTML. 2. Edit the CSS and/or HTML files to specify the image size relative to the screen size. E.g. if the image is 400x700 pixels and the images are suitable for a 600x800 device then you could set the size as height:87.5%; width:auto; and the image would have the same size relative to the screen height on all devices. (You might also want to look at using min-height,max-height,min-width,max-width styles, or look into using a SVG block if you want finer control of things such as aspect ratios.) The Advantage of this approach is that it will work for devices with different screen sizes -- it is what the publisher should have done in the first place. The disadvantage is that you will probably need to edit each HTML entry for each image separately -- a lot of work if there are a lot of images -- and know enought about CSS/HTML to know what to edit. In both cases the quality of the results will be limited by the quality of the original images provided by the publisher. Last edited by GeoffR; 07-04-2016 at 11:01 PM. Reason: ... where the publisher has not specified a size for the images in the CSS/HTML |
||
![]() |
![]() |
![]() |
#5 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40
Karma: 1010
Join Date: Jun 2016
Device: Kobo Glo HD, Kobo Aura One
|
Quote:
Oh, btw. This happens with all my books. I remember Google play books used to behave this way until the updated it, many months ago, and now it shows up fine. That's why I think it's a reader problem and not a book problem. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
I think this is the same issue for a lot of other aspects of ebook display: does the device override the publisher's settings, which make books by bad publishers look better and books by good publishers look worse, or do they respect the publisher's settings so that books by bad publishers will look bad and books by good publishers will look good? |
|
![]() |
![]() |
![]() |
#7 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40
Karma: 1010
Join Date: Jun 2016
Device: Kobo Glo HD, Kobo Aura One
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
It is hard to give a detailed example of how to do that, because there are a multitude of different ways the publisher can set out the HTML and CSS, but if you post the section of the HTML that refers to the image, and the associated CSS styles from the stylesheet then I can suggest something. Here is a simple example from the last book I read (published by Random House UK) where the publisher has used a fixed pixel size for an image: HTML: Code:
<div class="part_image"> <img alt="image" height="129" src="../images/part1_1.jpg" width="220"/> </div> Code:
div.part_image { text-align: center; text-indent: 0; margin-top: 10%; margin-bottom: 0em; } If I simply remove the height and width then the image will be displayed at the pixel size of the JPG file, i.e. resizing the JPG file would cause the image to resize: Code:
<img alt="image" src="../images/part1_1.jpg"/> Code:
<img alt="image" style="height:20%;width:auto;" src="../images/part1_1.jpg"/> Code:
<img alt="image" style="height:auto;width:8.25em;max-width:100%;" src="../images/part1_1.jpg"/> Last edited by GeoffR; 07-06-2016 at 01:39 AM. Reason: ... height of the device's screen ... |
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
One note I should add, although it probably doesn't affect you:
There is a bug in the KEPUB reader that can affect image size/position when using full-screen reading mode. It is one of the bugs fixed by the firmware patch named `Fix three KePub fullScreenReading bugs`. |
![]() |
![]() |
![]() |
#10 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40
Karma: 1010
Join Date: Jun 2016
Device: Kobo Glo HD, Kobo Aura One
|
Quote:
Code:
<img alt="image" src="../images/part1_1.jpg"/> |
|
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Beware that in the case of the cover, Calibe replaces the cover image in the book with the one that is set as the cover in Calibre when it sends the book to the device. But the other images should only get resized based on the output profile. If you can't solve it then PM me with a link to one of the problem books, and I'll see if I can find out what is going on. Last edited by GeoffR; 07-06-2016 at 10:22 AM. Reason: unzip |
|
![]() |
![]() |
![]() |
#12 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40
Karma: 1010
Join Date: Jun 2016
Device: Kobo Glo HD, Kobo Aura One
|
Quote:
I have another question, I don't know if I should open another thread for this. I've noticed a lot of ghosting on the Kobo Glo HD. when I open a book I can see the marks of the squares in the home page, also when I switch the pages O can see some letter are slightly grayed out where a letter was in the previous page. Is this normal on the latest software? I never had this problem when I used the paperwhite and to my understanding the have the same screen technology. |
|
![]() |
![]() |
![]() |
#13 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
I experience a problem with the current firmware where after waking from sleep in a book the text on the first page can be very light. It has been like that for quite a while now. But after turning the page it returns to normal. In the past I have seen reports of ghosts from the sleep screen when using a sleep cover to wake the device, but I don't have a sleep cover, and I don't know if that problem occurs in the current firmware. I haven't seen any unusual ghosting when opening a book or when turning pages, but opinions on this vary wildly: some notice ghosts after one page turn and have to set their devices to refresh every page. Others go 128 pages without any problem (there is a firmware patch to allow the number of pages per refresh to be increased, or it can be done my manually editing the device's configuration file). I don't know if it is a difference in devices, a difference in settings, or just a difference in perception. |
|
![]() |
![]() |
![]() |
#14 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40
Karma: 1010
Join Date: Jun 2016
Device: Kobo Glo HD, Kobo Aura One
|
Quote:
Thanks for your help. I feel a little stupid for not trying this before. |
|
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The other thing is that when you do a conversion to the same type, calibre saves the original as "ORIGINAL_EPUB". Any further conversions will use this, not the new file. This is something I always forget as I convert, fix a problem, do another conversion and lose the fixes. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to add a header/footer | Arkadian | Editor | 7 | 09-24-2014 02:28 PM |
Add Header/Footer | hrwriter | Calibre | 3 | 12-08-2010 05:11 AM |
Removing header and footer | radicalnomad | Calibre | 2 | 08-26-2010 10:34 AM |
Header/Footer removal | Solicitous | Calibre | 2 | 03-30-2010 05:53 AM |
Change font/size of header and footer in book designer? | lkraven | Sony Reader | 4 | 10-08-2007 10:27 PM |