![]() |
#1 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Percent vs picas (or mm) for Kindle
For the first time, I want to use a series of mug shots in a book. At present I have them sized 20% wide, height=auto. I appreciate that this can turn out fairly ragged in a K1, K2, or DX Kindle, and perhaps in Apple IOS. What's the best way to go? Shall I ignore the Mobi 7 gang, revert to absolute measure, or futz about with media calls? (I don't like the last because they would require me to have separate builds for Amazon and the rest of the digital world.)
|
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If you use absolute measures, you have to make sure your images will fit properly on ALL devices that have a Kindle app such as an iPhone. Can you do that? a % makes sure it fits based on the size of the screen. Absolute means is might not fit.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
I'm told that the early Kindles will respect em measures if they are even (or will round them up). I often use 130 picas for a thumbnail on a web page. What would be the rough equivalent in ems?
(Or the equivalent of 20%?) |
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Just remember, anything you do with graphics has to work on a small 4" iPhone or you've botched your eBook and/or website. Now, as picas to ems, try a Google search. I have never used picas because they aren't useful at all.
|
![]() |
![]() |
![]() |
#5 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
I am enchanted to see that my iPhone 4 measures 640 pixels wide. That's not terribly far off from the latest Fire HD 7 inch (800 pixels) and wider than the early models -- or the first generation Kindle, for that matter (600 pixels).
Indeed, it's only the more recent 8.9 inch tablets that have blown up the standard, at 1600 pixels wide. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
OMG, did I really say picas? I meant pixels....
>I often use 130 picas pixels for a thumbnail on a web page. |
![]() |
![]() |
![]() |
#7 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,941
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Never use pixels as a measurement in ebooks.
[EDIT: Whoops, I was wrong. I still wouldn't use it often, but it isn't as bad as I'd thought, and there are some places where it's the best option.] Last edited by pdurrant; 06-28-2015 at 04:36 PM. |
![]() |
![]() |
![]() |
#8 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I don't know how it is for Kindle, but in ePubs pixels are absolute units, just like millimeters or inches, and they are not equivalent to the device's pixels. In particular, they should not change with the device resolution. I think the definition is exactly 1 in = 96 px.
That, at least is what the spec says. I've seen devices with "creative" definitions of what a "mm" is, so I'm not surprised there are devices that translate "px" to device pixel too. |
![]() |
![]() |
![]() |
#9 | |||
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,941
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
Quote:
Quote:
It may be that some popular ePub renderers choose to interpret pixels as 1/96 inch, but I couldn't find that in the spec. I'd be happy to be wrong. |
|||
![]() |
![]() |
![]() |
#10 | ||
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
If you scroll down a bit the CSS 2 spec, it is more specific about "px":
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#11 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,941
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
Many thanks! I should indeed have read on further. |
|
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Pixel is the unit of choice for W3C to use to autoscale images based on ppi. Read about this in our wiki https://wiki.mobileread.com/wiki/CSS_pixel#The_CSS_pixel
Dale |
![]() |
![]() |
![]() |
#13 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
|
I can definitely confirm that on Kindle Touch and Kindle Paperwhite 2, the pixels are not device pixels. If the previewer is to be trusted, nor is Voyage. However, a kindle e-ink pixel seems to be larger than a kindle fire pixel.
I've struggled with this particular display problem myself. Use fixed pixel dimensions, and the proportions only look OK on certain devices. Use relative dimensions, and it looks pixellated and/or silly on large screens, and miniscule and silly on small screens. I really miss support for the max-width attribute on the kindle at times like this. I normally try to set a min-width in pixels to ensure it will look sensible on small screens, and give the width itself in %, so the layout will be OK on "normal", 6-inchish devices, and not too silly on 10-inchers. People reading on computer screens will just have to live with the silliness of the image dimensions... (That is, unless the image contains text. Then of course em's would be the way to go.) |
![]() |
![]() |
![]() |
#14 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Thank you, SBT. You have stated my problem precisely.
And thank you, everyone. This has been most enlightening, even though I'm not surely where it leaves me.... It would never have occurred to me that Gertrude Stein was wrong, and that A Rose Is a Rose Is Not Always A Rose. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo Library Percent Incorrect | GreatCanadian | Kobo Reader | 5 | 02-21-2013 11:40 AM |
33⅓ percent | cybmole | Sigil | 26 | 10-23-2011 06:48 PM |
50 percent off at Champagne Books | Catlady | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-27-2011 11:20 AM |
Amazon to enact 70 percent revenue share for Kindle periodicals | carld | News | 8 | 11-09-2010 09:35 AM |
20 Percent Off @ Sony | MickeyC | Deals and Resources (No Self-Promotion or Affiliate Links) | 16 | 01-27-2009 01:45 PM |