Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to convert PDF file to JPG or PNG in ubuntu?

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 31-03-2012
Member
 
Join Date: Jan 2012
Posts: 50
How to convert PDF file to JPG or PNG in ubuntu?
  

currently my system is powered by ubuntu. I wanted to know how can I convert pdf to JPG or PNG?
Any help will be greatly appreciated. Thanks a lot in advance.

Reply With Quote
  #2  
Old 31-03-2012
Member
 
Join Date: Aug 2011
Posts: 557
Re: How to convert PDF file to JPG or PNG in ubuntu?

Well you will be able to do the same by using command-line utility. It seems to be part of Imagemagick suite and you will be install the same by using synaptic.
Now in order to convert PDF file to PNG you have to use below mentioned command.
Code:
convert infile.pdf outfile.png
Reply With Quote
  #3  
Old 31-03-2012
Member
 
Join Date: Aug 2011
Posts: 453
Re: How to convert PDF file to JPG or PNG in ubuntu?

I got when I was trying to number of odd size pdf documents to A4 format.
use pdftk in order to rotate the picture.
Code:
pdftk your_input_file.pdf cat 1-endW output rotated.pdf

after that use imagemagicks in order to convert ps fil and used the -density 300 so that I can have 300dpi resolution.
Code:
convert -density 300 rotated.pdf rotated.ps

finally use ghostscript so that one can get output in A4 format.
Code:
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=a4 -sOutputFile=output.pdf rotated.ps
Reply With Quote
  #4  
Old 03-04-2012
Member
 
Join Date: Jul 2011
Posts: 552
Re: How to convert PDF file to JPG or PNG in ubuntu?

you will be able to open pdf file in evince. Go for print to file and click on page setup and go for pages per side and click on Use 4. Now you will see that new pdf file with 4 pages at every side has been created. Now you can convert the same into png document by using below mentioned command.

Code:
convert 4pages_per_side.pdf 4pages_per_side.png
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to convert PDF file to JPG or PNG in ubuntu?"
Thread Thread Starter Forum Replies Last Post
How can I convert LaTeX file to OpenOffice .odt file and MS Word .doc file? Charu Sharma Windows Software 4 04-04-2012 01:12 AM
Apple MacBook Pro: How to convert the .avi file into a .mov file? Mishraji Portable Devices 4 10-11-2010 01:00 AM
Convert *.MKV to *.AVI in Ubuntu Samantha1 Operating Systems 5 12-05-2010 03:48 PM
Easily Convert Windows in Ubuntu Look Twitter Tips & Tweaks 2 28-03-2010 05:22 AM
Unable to convert any video file to avs file Hamlet Windows Software 5 08-03-2010 10:30 AM


All times are GMT +5.5. The time now is 12:14 AM.