Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-05-2018, 07:27 AM   #1
bekindtoeveryone
Junior Member
bekindtoeveryone began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2018
Device: Kindle
PDF Optimization for e-readers: Background removal, Monochrome, Color inversion;

This tutorial will provide a solution to the following issues with large scanned PDFs of pre-1923 books from Internet Archive etc. on Kindle and other ebook readers and help transform a heavy, slow, scanned PDF from...

Click image for larger version

Name:	Original PDF-1.jpg
Views:	315
Size:	598.9 KB
ID:	168163

...to...

Click image for larger version

Name:	Optimized PDF-1.jpg
Views:	336
Size:	581.9 KB
ID:	168164

...which is easier for the Kindle and e-reader screens to handle.

1.) How do I display large PDF scanned copies of out-of-copyright books? Books with old brown pages cause turning pages rather slow on my Kindle, and displaying the cover page (black/dark-colored cover image) freezes my Kindle. What do I do?

I answer that,
Step 1: Search for and download 'K2pdfopt', a portable software available for Windows, Mac, and Linux. Launch it and maximize (enlarge) the window if necessary. Add the PDF file using the 'ADD FILE' button. You may use the 'ADD FOLDER' button to add a folder full of PDF files. Also, set an Output Folder where the Optimized PDF file will be saved. This can be done by clicking the 'Select' button, navigating to the desired Output folder, and clicking 'OK'.
Step 2: In K2pdfopt, near the top-right area, just above the Preview Window, you will see a drop-box with the label 'Conversion Mode'. Select 'copy', which is the second option from the top. Check that the 'Device' drop-down box shows 'Kindle 1-5', the first option from the top. If not, select this option. Do this irrespective of the device you use. Moreover, check that both the width and height are set to 1.00s. If not, adjust the four boxes to show '1.00', 's', '1.00', and 's'. Set the DPI option to 300. Next move on to the options at the bottom of the software.
Step 3: Untick/deselect the 'Color output' option and the 'Smart line breaks' option. Check that all other options are not selected. All the options on the bottom should be kept unselected/without tickmark. 'Max columns' option should be set to 1, irrespective of the number of columns in the PDF file. So if there are two columns of text in the PDF, even then this option should be set to 1. The Document resolution factor should also be 1. The 'Pages to convert' textbox should say 'all'. Keep it like that to optimize the entire PDF. Or if you want to optimize a certain page or range of pages, select the page number or page range in the format '40' or '40-50' to optimize page 40 or pages from page 40 to 50.
Step 4: Click 'Convert all files'. Wait for the conversion to complete. This may take a few minutes, depending on the processing power of your computer. The optimized PDF will be saved in the output folder which you had previously selected. The name of the PDF will be something like [<filename>_k2opt(dot)pdf.] Transfer this newly optimized PDF to your Kindle or device through USB cable or other means. This PDF will have black text on white background, and page turns should be as smooth as regular ebooks. Thus, the heavy scanned PDF is now easily readable on your Kindle device.

And the following tutorial will teach you how to turn PDF files from...

Click image for larger version

Name:	Original PDF-1.jpg
Views:	315
Size:	598.9 KB
ID:	168163

...to...

Click image for larger version

Name:	Black and White PDF-1.jpg
Views:	312
Size:	570.6 KB
ID:	168165

...which is easy on the eyes, leading to less eye strain on mobile devices, and less exposure of eyes to bright backlight.

2.) How do I make the PDF have white text on black background? In other words, how do I set the PDF to Night Mode or Invert Colors Mode or whatever one calls it?

I answer that,
Proceed to perform step 1 to step 3 in Question No. 1 (near the top of this article). Skip Step 4.
Instead, copy-paste the following line into the 'Additional options' box:

-colorbg <ffffff>|<000000> -colorfg <000000>|<ffffff>

Include all the symbols, letters, and numbers, from the '-' sign at the beginning to the '>' sign at the ending. Try not to type it manually, in order to avoid spelling mistakes.
The purpose of this line is to invert colors of your PDF.
(Explanation: <ffffff> represents the color white, and <000000> is black. This line will invert black and white, and since the PDF output will be grayscale according to our settings, colored PDFs will first be converted to grayscale and then inverted from black-on-white to white-on-black)
Now proceed to Step 4, by clicking 'Convert all files' and transferring the resultant optimized PDF to your device.
Now you will be able to read read PDFs with inverted color without using a certain accessibility feature included in later models of Kindle. Moreover, this change is saved to the optimized version of the PDF file, and not dependent on a device setting. This is especially useful for those desirous for an 'Invert Colors' accessibility feature on older devices that do not have it.

That's it for this tutorial. I hope it helps.

Last edited by bekindtoeveryone; 12-05-2018 at 12:29 PM.
bekindtoeveryone is offline   Reply With Quote
Reply

Tags
ebook, ereader, kindle, pdf, scanned

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle 4 - Best method of converting PDF superste2201 Amazon Kindle 29 05-29-2015 09:08 AM
How to optimize PDF's for 800x600 Viewing James Cole PDF 9 11-28-2011 11:14 AM
PDF Reader Review and Guide: View, Optimize and Create PDF files UpSpin Sony Reader 15 11-26-2011 10:11 AM
PRS-650 Optimize PDF UpSpin Sony Reader 7 05-20-2011 06:14 PM
Troubleshooting Optimize PDF for the Kindle DX nerys Amazon Kindle 2 07-26-2010 02:05 PM


All times are GMT -4. The time now is 11:41 AM.


MobileRead.com is a privately owned, operated and funded community.