View Single Post
Old 08-29-2015, 03:53 PM   #8
mattmc
Connoisseur
mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.
 
Posts: 89
Karma: 185923
Join Date: May 2015
Device: iPad 1/2/Air, K3/PW2/Fire1, Kobo Touch, Samsung Tab, Nook Color/Touch
Quote:
Originally Posted by Hitch View Post
Don't I recall that the actual K1 devices had this very display bug? I just tested (a variant on this coding) myself, on a K2 yesterday, and it worked fine. I am almost positive that this is a first-gen Kindle issue, like the way that tables won't work on it either.

Anyone else remember this? I no longer have my K1 to confirm.
Thanks for helping investigate, Hitch, and good to know it works on a K2.

Although it would be good if anyone else with a K1 could weigh in and confirm it's a bug with the device, I'm going to assume that's the case for now.

I ended up writing a script that finds all images in the book, checks their CSS to see if they're percentage-sized, and if so resizes the actual image to be that percentage of the K1's screen, in pixels (which I've read is roughly 500 or 520 wide).

So then it just is the right size for K1 & K2. My logic is that most devices are roughly that size anyway, and the ones that are smaller would be K4iOS or KDroid on phones, which (correct me if I'm wrong) the percentage CSS would work fine with, shrinking the images to the correct size. The only odd man out would be the original DX, because then you get the image stretching beyond its native size, and some pixellation--but I think I'm willing to live with that.

And, I'm only using that script for my Kindle file, so there are nicer, higher-res images for iPads and stuff like that.
mattmc is offline   Reply With Quote