Pages

Sunday, August 1, 2010

PDF to TEXT, PDF to JPG, PNG etc.,

1) PDF to TEXT:
 
            When we are reading an ebook, the fonts and its size might not be comfortable to our eyes. By using this 'gPDF Text ebook editor'. We can convert a pdf file to a text file then we can read with comfort.

இந்த இடுகையைத் தமிழில் காண, இங்கே சொடுக்கவும்

Using Terminal:
         Goto System -> Administration -> Synaptic Package Manager and install poppler-utils
Now open the terminal,

1. To convert, keep the pdf file in home folder,

       $ pdftotxt filename.pdf filename.txt

2. To convert first 2 pages to text,
       $ pdftotext -f 2 filename.pdf filename.txt

3. To convert last 2 pages as text,
       $ pdftotext -l 2 filename.pdf filename.txt

4. To convert a file which has password,
       $ pdftotext -upw 'password' filename.pdf filename.txt

2) PDF to JPG:
         It is nothing! Open the pdf file in, 'GIMP Image editor'  and save the files as .jpg or .png or whatever file format you want.


Note: All softwares, mentioned above are available in Ubuntu Software Center.

Using terminal, 'pdftotext' source- http://ubuntuintamil.blogspot.com/2010/04/pdf-to-text.html
.

0 comments:

Post a Comment

Related Posts with Thumbnails