HaveF / papercrop

Automatically exported from code.google.com/p/papercrop
GNU General Public License v2.0
0 stars 0 forks source link

Correct resolution for the Kindle 3 #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is how the correct resolution can be calculated for the Kindle 3:

1. Use GIMP to create a 600x800 black layer and save it as 'test.jpg'
2. On the commandline (imagemagick): convert test.jpg test.pdf
3. Upload test.pdf to Kindle (mount as USB storage and copy to 'documents' 
folder
4. View test.pdf on Kindle and take a screenshot (Shift-Alt-G)
5. Copy screen_shot-NNNN.gif to computer
6. Open the GIF in GIMP and use the erase tool to remove the Kindle UI from the 
screenshot
7. Use "Image->Autocrop Image" and read off the resolution from the titlebar 
(551x735)
8. Round to the next largest even resolution (552x736)
9. Edit config.lua to update the device resolution:

kindle3={552,736}
--device=kindle3

10. Use paperCrop to create readable PDFs for the Kindle 3

Attached is a screenshot from the Kindle 3 showing a converted two-column PDF 
using the above resolution.

Thank you for writing such a useful program! I think it would be helpful to add 
this resolution to the default config.lua for other Kindle 3 users.

Original issue reported on code.google.com by ajpl.delacroix on 24 Mar 2011 at 8:45

Attachments:

GoogleCodeExporter commented 9 years ago
Edit: config.lua needs device=kindle3 to be uncommented, i.e.

kindle3={552,736}
device=kindle3

Original comment by ajpl.delacroix on 24 Mar 2011 at 8:56

GoogleCodeExporter commented 9 years ago
Thanks, I will add this at the next release.

Original comment by taesoob...@gmail.com on 26 Mar 2011 at 2:16

GoogleCodeExporter commented 9 years ago

Original comment by taesoob...@gmail.com on 5 Oct 2011 at 3:11