bell notificationshomepageloginedit profileclubsdmBox

10.03% popularity   0 Reactions

My goal is to produce files which, when displayed, are rendered 1:1, pixel-for-pixel, in order to ensure maximum text clarity. The values provided in the GUI version of the k2pdfopt program, seem to be incorrect, and produce an obviously degraded result when displayed on the device.

Of course, this should exclude the chrome at the bottom of the screen, and any margins that are drawn. Also, a means of preventing the software from automatically scaling the image would be useful to know.


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (3)

Login to follow story

More posts by @Shakeerah

3 Comments

Sorted by latest first Latest Oldest Best

 

@James

10% popularity   0 Reactions

Screen shots from a Paperwhite 2 displaying a PDF file can be located here. These screen shots were the basis for the values used in the latest version of k2pdfopt. My experience is that getting a 1-to-1 isn't trivial. I had to work at it with my old Kindle 2. You may need to adjust slightly the values of the width and height and the values used by the -pad option. Also you should use the -mc option (on by default). For each trial, you should take a screen shot of your PDF on your Kindle and see if it exactly matches the bitmapped file within it.

You can see the values used for the Paperwhite 2 selection by running:

k2pdfopt -dev ?


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

10% popularity   0 Reactions

Calibre lists the paperwhite as having a pixel count of 658 x 940 and the paperwhite 3 as having a screen size of 1072 x 1430.


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

10% popularity   0 Reactions

To prevent the images from scaling you should set the width of the image in pixels rather than in, eg, 100%. It appears that the Kindle Paperwhite is 4.6 inches wide at 212 ppi (source), which comes to an unlikely 975.2 pixels wide—but it's a place to start. I would suggest setting image width (or width of containing div) to 970 px for starters. If it's distorted, then there is probably a hard-coded margin for the page of greater than 2 pixels, so reduce a small amount and try again.

Note that specifying the pixel size will mean that on other Amazon devices, the image will not resize to fit the screen—iPad and iPhone Kindle app users may not be happy with the end result.


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

 

Back to top