LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting PDF to image data

Hi.
 
I've been trying to find a way to convert a PDF file to image data. Is it possible to do this, for example, via Active X?
 
- Sami
0 Kudos
Message 1 of 6
(3,193 Views)

Hi Sami,

what exactly do you mean? How do you define which part should become an image? One solution could be to open the pdf and make a screenshot of it.

Mike

0 Kudos
Message 2 of 6
(3,190 Views)
Well, the idea is to open a PDF file that has only one page, save the page as a .bmp and convert the .bmp into a pixel map, and finally save the needed coordinates from the image data into an array.
 
The use of screenshots is working well, but the final solution should convert the PDF page into a .bmp file automatically since there are probably thousands of PDF files to handle.
 
- Sami


Message Edited by hotsam on 08-04-2008 04:14 AM
0 Kudos
Message 3 of 6
(3,182 Views)
Hi hotsam,
you can make the screenshot automatically. See this thread for more information about it.
 
Hope it helps. Mike
0 Kudos
Message 4 of 6
(3,175 Views)
Ok. I'll check out that thread. Thank you very much.
 
- Sami
0 Kudos
Message 5 of 6
(3,167 Views)
Google PDF2JPG or PDF2PNG. You'll find a number of converters that do this.
I'm sure some will be usable through the command line. Some might be free...

Regards,

Wiebe.


0 Kudos
Message 6 of 6
(3,165 Views)