|
-
April 1st, 2008, 03:47 AM
#1
Need to convert documents to images (jpeg)
Hello,
I am working on this task to convert some mostly used document formats like doc, xls, txt, pdf to the jpeg images. The idea here is to save the first page/part of the document as an image for some security reasons. Just like thumbnal view but bigger in size.
I came across many Virtual Printer Drivers, but we cant afford installing a driver as ours is a portable app running on USB.
Is there any open source library or tutorial which explains how to go for this. Or printer driver is the only way I can do it. I believe there should be some of doing this using DDK but i didn found any.
Thanks.
-
April 1st, 2008, 06:56 AM
#2
Re: Need to convert documents to images (jpeg)
Virtual printer drivers are user mode drivers, like DLLs, and thats the correct way to capture any document in image format, otherwise you will have to know the document format, render it and then save it in image format.
Regards,
Ramkrishna Pawar
-
April 1st, 2008, 07:14 AM
#3
Re: Need to convert documents to images (jpeg)
Thanks for the reply...
I still have some doubt abt printer drivers. If they are like DLL's then we must be able to use them as dll. I mean there should be some way we can call the same API's without installing drivers on the PC.
Hope u r getting me..
-
April 1st, 2008, 07:34 AM
#4
Re: Need to convert documents to images (jpeg)
Yes, those are driver DLLs and registered as the printer (handlers) driver. Unfortunately there are not many resources for this on internet.
Regards,
Ramkrishna Pawar
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|