Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to convert a very large PDF file (>2GB) to a PNG (or JPEG) file so that it is easier to open and look at.

I want to do that without opening the PDF file since it is too large to be opened.

Is there any way to do this in either Windows or Linux?

share|improve this question
Check out this other SO: <…;. Imagemagick is your friend. – Jason McD Apr 11 '14 at 21:31
Just out of curiosity, what does the file contain to be so big? Scanned pages perhaps? – Daniel B Apr 13 '14 at 2:51
@DanielB It is an output from a function, it is a large similarity matrix. – Yilun Zhang Apr 14 '14 at 19:14
I see. So basically it's just text then. Turning that into an image will probably make things a lot worse. – Daniel B Apr 14 '14 at 20:00
@DanielB Oh, it is a figure of similarity matrix, so it is an image. – Yilun Zhang Apr 14 '14 at 20:30

You can use ImageMagick to do that (

If you work under Linux, it is typically installed by default by most distribution, and you call it in the following mannger:

convert -density 300 -depth 8 -quality 85 [SOURCE FILE NAME].pdf [TARGET FILE NAME].png

if the PDF file has several pages, the target will be several PNG files, one for each page.

Hope that helps!

share|improve this answer
I'm working on company's server, and I couldn't find the covert command. – Yilun Zhang Apr 14 '14 at 19:15
convert is part of ImageMagick. Your distribution's sure to provide packages for it. It's rather popular, after all. – Daniel B Apr 14 '14 at 21:58
What OS are you using? Try to ask the system administrator about it, or getting it installed on the server. It is a very common and pretty standard utility in most Linux distributions (installed by default in many) and can be easily installed also on Windows servers. – OM55 Apr 14 '14 at 23:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.