Jambudveep's Blog

May 25, 2013

Tutorial on Converting books on Digital Library of India to PDF format

Filed under: Tutorials — Yogeshwar Shastri @ 6:32 pm

This tutorial on converting DLI books to pdf format replaces the earlier tutorial I had posted. The tutorial I have created is in two parts :

1. An introduction to the digital sources of Indian history online.This covers most of the copyright free or open source resources.

2. The second part is the tutorial on converting the TIFF format books on DLI into readable PDF format.

This was a presentation I made at the seminar held at Pondicherry University from 4-5th April 2013. It was conducted by the Department of  History,Pondicherry University to commemorate completion of 25 years of the department. The seminar was an excellent experience and I had the opportunity to interact with several scholars in the field of epigraphy and history.My thanks to the staff and students of the Department of History for their excellent hospitality.

The tutorial is based on the DLI tutorial created by Vinay Shetty.My thanks to him for this great resource.

Pondicherry presentation 05-04-2013

February 17, 2011

Tutorial on Converting books on the Digital Library of India website from TIFF to PDF

Filed under: Tutorials — Yogeshwar Shastri @ 6:47 pm
Tags: ,

This tutorial is now defunct, the updated tutorial is here

Tutorial on Converting books on the Digital Library of

India website from TIFF to PDF

Update: Before going through my tutorial I would advise you to try out these three easier and convinient methods for downloading books from DLI.

1.Vinay Shettys DLI book Download Tutorial : This is a simple and easy to understand tutorial.Worked for me perfectly.

2.Ashok Shukla’s ABS DLI Downloader: This is a small piece of good software which allows you to download entire TIFF books from DLI as PDF’s.Unfortunately did not work for me.

3.DLI Downloader from PR Labs :Again a good piece of software,more specifically for Sanskrit documents.Unfortunately did not work for me either.

Try all three above,one of them is bound to work for you! Only follow my tutorial if none of the above works!


Before we begin a word of thanks to the people behind the Digital library of India (DLI) effort who have taken great pains to digitise and host lakhs of books online.

As the books are in TIFF format they are fine for reading online, but the problem starts when you  want to download an entire book for reading offline. This tutorial will hopefully address that issue.

Here I am assuming that you already the usual stuff needed to browse the internet i.e. Operating system (e.g. Windows) and an internet browser (like Firefox, Internet Explorer).

Step 1: Getting to Know the Interface of the DLI website

The interface  of the DLI website is very simple as seen from the screenshot above. Once you enter the search query, which in my case was for books on Vijayanagar, the results are displayed as in the following screenshot.

Once you decide which book you want to convert, click on the book name (which should be highlighted in blue).

Clicking on the book name will bring up the following screen:

I usually select “Book Reader 1” but you can go with “Book Reader 2” if you want. The interface is mostly the same in both book readers, they differ only in the way   the pages are displayed.

On selecting “Book Reader 1” the book reader opens in a new tab/window. The book reader will display the book in TIFF format.

The layout of the book reader is pretty simple with buttons to zoom in, save, print etc in the top level strip. In the bottom part you can move ahead or move back through the books pages by clicking on the arrow signs.

For converting the book to PDF we are only concerned with two buttons which are highlighted in the screenshot above: 1.Print & 2.Save

Step 2: What will I need to have installed to do the conversion from TIFF to PDF?

You will need to have one of the following two things:

1.      Adobe Acrobat Professional (Full Version) : If you have the full version of Acrobat it will let you:

  • print the pages in TIFF format  as PDF’s (i.e. save them as PDF’s, more on this later),
  • Convert BMP format files to PDF (I’ll explain this later on in the tutorial)
  • Merge different PDF’s into a single book.


2.      Open source PDF creation software: This is completely free and comes in different types which let you do things such as:

Step 3 : What are the ways to convert the TIFF page to PDF?

The conversion of a TIFF   page to PDF can be done in the following two ways:

1. Save the TIFF page as a BMP and then convert to PDF

2. Directly print the TIFF  page as a PDF

In the following sections I will describe each of these options in detail.

1. Save the TIFF page as a BMP and then convert to PDF

I prefer this method as the BMP image is   an exact reproduction of the TIFF page you see on screen. Thus when you convert the BMP to PDF there are no unpleasant surprises in the way the final document looks.

To save the TIFF page as a PDF simply click on the “Save” button in the DLI Book readers interface. See screenshot below:

You will need to do this for each TIFF page. It would be good practice to number the pages as you save them. This will make life easier when you are converting to PDF and finally combining the PDF’s.

To learn how to convert the BMP images to PDF,you can skip the next part and go straight to Step 4.

2.Print the page as a PDF: In my experience this method can produce variable results especially with regards to the final output PDF.

Once installed  the PDF software( either Adobe or PDFCreator) will show up as “Printers” in your print options. On clicking the Print button at the far left of the book reader  interface  you will be presented with a list of options similar to the  screenshot below.

The next step is simple: select the PDF printer you have installed and click on print.

Depending on the software you use you will be typically asked to save the PDF in a particular location on your computer.

Thats it!

The  TIFF page has been converted to PDF format. Now of course you will need to repeat this process for however many pages there are in the ebook.

Step 4: Combining the PDF/BMP files into a single PDF

Hey I’ve now got 500 separate PDF/BMP files, how do I combine them into one single book?

Not a problem!

i.                    For Abode Acrobat users:

  • Select all the different PDF’s/BMP’s in whatever folder you have saved them. Use  Edit—>Select all.
  • Right click on any of the selected files.On right clicking you will get an option which says “Combine Supported Files in Acrobat”.
  • Click on that option and Adobe will present you with a screen where you can combine, shuffle the order of individual PDF’s/BMP’s and do other good stuff.

This link gives info on how to combine the different PDF’s into one book using the Adobe Acrobats interface:  http://www.ehow.com/how_3391947_combine-pdf-files-using-adobe.html

Another link on converting BMP’s to PDF using Adobe Acrobat: http://www.ehow.com/how_7334789_convert-bmp-pdf.html

A word of caution: When you are selecting and combining the PDF/BMP  files in Adobe do them in series.eg If there are 200 pages, combine pages 1-9 first, then 10-99,100-200.

I’ve found that if you try to select 200 pages in one go and combine them, the order of pages gets messed up.

ii.                  For Open source software users:  You will first need to convert the BMP’s to PDF. This can be done using a free online tool available here : http://www.pictureresize.org/online-images-converter.html

This link gives detailed information on combining the PDF files : http://www.pdfforge.org/content/combine-documents

To merge the PDF’s  I found it easier to use “Pdfsam”. (http://www.pdfsam.org/?page_id=32)


All done! Your PDF ebook is ready to read!

Create a free website or blog at WordPress.com.