View Single Post
Old 08-01-2017, 08:12 AM   #32
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
@Hitch...It's funny that you asked me that question because I'm currently writing a Sigil plugin that will convert all absolute sizing and spacing values(e.g. pts, in, mms, cms, pc) in the epub stylesheet(s) to relative "em" values. So I guess you must be psychic...

...And the answer to your question is very similar. If we are talking epubs, Kindle, as well as other ereader vendors, don't like us using pixels(an absolute measure) for images smaller than 100% of the screen size. Kindle prefers smaller image dimensions as a value relative to current screen width -- in percentages. So if you don't use % values for your smaller images and use pixels instead then your smaller images will be screwed by the Kindle software as I've found with some Kindle conversions in the past. Lesson learned. Always use percentage values for your smaller ebook images for Kindle or it will be changed willy-nilly by the Kindle software viz the Kindle overrides. And as roger64 has said, using % values for smaller images will also work across all ereader types.

In case you get me wrong, what I am inferring is this...If you, me and roger64 can easily calculate the value of a smaller image in pixels and convert this to a % value for Kindle then why can't the Kindle software team do this transformation and simple calculation for us when they display these smaller images on Kindles -- and do it accurately?

Last edited by slowsmile; 08-01-2017 at 09:07 AM.
slowsmile is offline   Reply With Quote