![]() |
#1 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Image scaling best-practices
Just use a width instruction in the html. I go width="100%" in most instances, and it works fine in Kindle and, from what I'm able to determine, in B&N and Apple etc as well.
Bearing in mind the old Kindles' habit of blowing up every image to full screen or the pixel dimensions, whichever is smaller, I am also conscious of the pixel dimensions of small images. Thus for my publisher's colophon I go width="15%" but also restrict the gif to 100x100 pixels. The result is not ideal on Kindle or Kindle 2 or DX, but it's okay. |
![]() |
![]() |
![]() |
#2 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
It's not complicated, it's pretty simple. The "right size" images have NO image sizing in them, and the "small" ones do. Your small ones say something like "width = 200" for 200px, and yes, those would be quite, quite small. In one instance, you allowed the image to render to its full size (assuming that there wasn't any cascading CSS that would restrict it) and in the other, you restrained it to 200px wide, which is TINY in 99% of the newer Kindles. That's all. No black magic. Hitch |
|
![]() |
![]() |
![]() |
#4 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
Even the images that display bigger and look right are not displayed as 2.08" by 3.125". At least not on my 6" Touch Kindle where they are displayed as 1.25" by 1.75." If they displayed as 2.08" by 3.125" they would take up more than half the screen and be too big (in my opinion anyway). An added (mind bending) complication. (Now all this refers to updated versions of my ebooks I'm delivering from Amazon's Manage Your Contents and Devices "Content" tab to my 6" Touch Kindle via Whispersnyc.) What I've found is that when I download, as opposed to using the Whispersync, the actual file of the updated ebook to my Downloads folder and then hook up a USB cable and upload the file to my Kindle, the images display larger (1.25" by 1.75") and "right" size, if you will. It seems that, at least on my Kindle, the Whispersyncing may be sending the .625" X 1" image sizes for some reason. (Why, I have no idea.) Could it be that my images with the height and width information specified (screenshot 20) are actually being displayed properly on regular first time purchases? |
|
![]() |
![]() |
![]() |
#5 | ||||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
On an HD Kindle, which can have a screen resolution of, say, 1024 px wide on a Paperwhite, 200pixels in width is going to be ~1/5th of the screen, and tiny. Understand? I'm not sure what you're doing, here: "200 pixels is 2.08" and 300 pixels is 3.125" or where you got it from or what you're thinking? 200px is what I mentioned, above, if I have the right generation of the device, the 600x800. Quote:
Quote:
Quote:
Please clarify EXACTLY what you are doing, in the download option, and how you get it on the device after you've downloaded it, and confirm what you mean when you use the term "whispersynch." Whispersynch has to do with the audible books--switching back and forth between the Kindle book and the Audible version, so you are badly confusing me. Hitch |
||||
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
In fact, Amazon itself will tell you that "send to Kindle" and side-loading won't emulate the for-sale MOBIs. That's why I'm asking him to be precise, about how he gets the files from the download (to his computer, presumably) to the KTouch. It makes a difference. Hitch |
|
![]() |
![]() |
![]() |
#8 | ||||
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
Quote:
Quote:
Quote:
And this isn't even the problem issue. Because all of the previewing I've done makes the image size look good. (I wouldn't publish it if the images were tiny.) It's only after I click on the Publish button in KDP and check the books the next day when Amazon sends me an email saying your book is live, that when I get the book via the "Deliver" button that the image size is small and when I get the book from downloading (in Manage Your Content and Devices) and then sideloading to my Kindle that the image is the "right" size. [/QUOTE] Hitch, granted, this has become a labyrinthine, but ultimately, I just have two questions. 1) Am I right to be entering the image size (screenshot 20) with the Height and Width quantities specified (the highlighted stuff). (as opposed to leaving that info out eg:screenshot 22) 2) What is the optimal size for backmatter cover images? Thanks |
||||
![]() |
![]() |
![]() |
#9 | |
hopeless n00b
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
@Gregg Bell Here are the physical dimensions of a 200x300 image on various Kindle models. Kindle (basic): 167 ppi 1.2" x 1.8" Kindle Paperwhite 1/2 (5th/6th gen): 212 ppi 0.9" x 1.4" Kindle Paperwhite 3/4 (7th/10th gen): 300 ppi 0.7" x 1.0" Perhaps instead of using pixels, use percentages to define the size? Alas, I'm not familiar enough with HTML/CSS to know the proper coding. Last edited by ilovejedd; 11-23-2018 at 04:54 PM. |
|
![]() |
![]() |
![]() |
#10 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,301
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
My .02...
If you are going to use % (which I do) then also include a max-width in your css so small pics don't get overblown and fuzzy on large screens. img {width:75%; max-width:250px} This will make it 75% of the screen width up until that 75% exceeds 250px...then it stays at 250px. You set the values you are comfortable with depending on the quality of the image and how much zooming you are willing to allow. Cheers, |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,023
Karma: 90000009
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
I can account for why the image in your book is smaller when delivered directly to the device from Amazon as compared with transferring via USB.
The USB copy will be in KF8 (azw3) format and will have the same HTML coding that you placed into the book. In this case the image will be displayed 200x300 pixels on a 600x800 pixel screen or 1/8 of the screen area. The copy sent directly by Amazon will be in KFX format for newer Kindles, including the Kindle 7th gen with up-to-date firmware. This is the format used for delivery of most books these days and enables enhanced typesetting features such as hyphenation and page flip. During conversion to KFX format Amazon applies several fixups to the book's original formatting intended to increase readability. Images coded with dimensions in pixels are converted to percent instead to promote consistency of display across devices with widely varying screen resolutions. The exact details are complex and I don't understand all of the rules, but in the case of your book the new size is width:23.4375% which happens to be 300 (your image height) divided by 1280 (typical HD screen height). The result is that the image is displayed at 23.4375% of the screen width on all devices. For your Kindle 7 that will be 140x210 pixels or 1/16 of the screen area, so that the image appears about half the size of the KF8 version. |
![]() |
![]() |
![]() |
#12 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,675
Karma: 168431851
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
2. The back/font cover image size? Personally, I like larger images. Using width=95%, a 1200 by 1800 image would pretty much fill the screen without pixelating on the higher PPI devices. On my personal devices which use epub ebooks, I use a SVG wrapper to display the image so it automagically fills more or less full screen however I suspect that while a KF8 ebook would be happy with this technique a KF7 (mobi) would tend to upchuck over the screen. I seldom do much with Kindle book creation hence the uncertainty. Code:
<style type="text/css"> @page {padding: 0pt; margin:0pt} body { text-align: center; padding:0pt; margin: 0pt; } </style> </head> <body> <div> <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1200 1800" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"><image height="1800" width="1200" xlink:href="../Images/cover.jpg"/></svg> </div> |
|
![]() |
![]() |
![]() |
#13 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
So, now--about percentages versus fixed-units. @DNSB--if he's serious about making MOBI files, he doesn't really have a choice--he has to use fallback coding that specifies the precise pixels, due to the KF7 devices that are still out there. If he doesn't, and uses percentages, that's ignored in the KF7, and his image can/will be blown up to the size of the screen, which sucketh when you have a small image. There's a thread--a very long, very tedious thread--somewhere here in the Sigil forum, in which slowsmile/William and I had a heated discussion about his plugin that creates the fallback coding for this very purpose. You (Gregg) can now ignore the heated part, but look at the info that his plugin provides--it does the heavy lifting for you. @Gregg--you should be sizing your images primarily by the use of percentages, not pixels (for the KF8s) as that's more consistent in terms of look/feel. However, you do also need the fallback stuff for the KF7s. And honestly, speaking as a highly-paid perfesshnul (ha), only God knows why KFX is "fixing" the coding and changing the damn size. That one just makes my head hurt. HOWEVER, bear in mind that what that means is that what you refer to as the "whispersynch" version is what other people are seeing--so break out the codebook, and write your media queries--you can use slowsmile's plugin's coding as a starting point. HTH. Hitch |
|
![]() |
![]() |
![]() |
#14 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
|
|
![]() |
![]() |
![]() |
#15 | |
Gregg Bell
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,266
Karma: 3917598
Join Date: Jan 2013
Location: Itasca, Illinois
Device: Kindle Touch 7, Sony PRS300, Fire HD8 Tablet
|
Quote:
And why would a small image get overblown? And not sure what you meant by how much zooming I'm willing to allow. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
image scaling problems: due to PNG format | stumped | ePub | 23 | 03-06-2017 05:30 AM |
Scaling up an image via SVG | Kayto | ePub | 27 | 01-26-2013 03:38 AM |
Full page image best practices & TOC | illustrata | Sigil | 2 | 04-26-2011 01:50 PM |
Calibre News Epub Image Scaling | grib | Calibre | 3 | 01-07-2010 06:45 AM |