0

Possible Duplicate:
Converting a PDF to a series of images with Python

I know the code to open a PDF file using Python:

import os
os.startfile('C:\file_name.pdf')

My query is that whether it is possible for me to save a particular page of the pdf file as an image file (jpeg, png)?

Community
  • 1
  • 1
Arnab Ghosal
  • 483
  • 1
  • 4
  • 11

1 Answers1

1

It's look helpful for you: Converting a PDF to a series of images with Python

Community
  • 1
  • 1
Kirill
  • 3,364
  • 2
  • 21
  • 36
  • ya. The swftools had to be installed and then I copied the gfx.pyd file to C:\Python26\Lib\ folder and then called the inbuild operations in the gfx module. Thanks. – Arnab Ghosal Jun 06 '11 at 12:32