Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Convert PDF to JPG

0 views
Skip to first unread message

Ed Hardy

unread,
Nov 13, 2002, 1:33:16 PM11/13/02
to
Could someone please post code for converting a PDF to JPG or BMP?

vb/foxpro OLE would be preferable.

"UncompressPDF" sample, seems to give a clue, but is there some explicit code for this task?

"AVConversionFromPDFHandler" has clues.

-Ed Hardy

Aandi Inston

unread,
Nov 13, 2002, 3:05:09 PM11/13/02
to
>Could someone please post code for converting a PDF to JPG or BMP?

That would be rather a lot of code, I suspect.


>
>vb/foxpro OLE would be preferable.

Not possible.


>
>"UncompressPDF" sample, seems to give a clue, but is there some explicit code for this task?
>
>"AVConversionFromPDFHandler" has clues.

That is indeed the route to go. It is not trivial, but should lead to
results after a fair bit of research. I haven't heard for sure from
anyone who has succeeded though. But the Core API can only be used in
plug-ins, only written in C or C++.

Aandi Inston

Victor Vishnyakov

unread,
Nov 14, 2002, 7:32:51 AM11/14/02
to
Aandi, we deed this stuff ... but we spent on this more than two years. Our C++ library can render PDF to BMP, JPG etc.

Ed, do not try doing it yourself it is a long way to go and your never knows whether you come to the end or not.

Daryl Te

unread,
Nov 20, 2002, 9:36:07 AM11/20/02
to
Victor, is it possible for you to provide some details on the implementation of this? I will be trying to do the same thing (basically)... converting from PDF to Tiff. Could you at least let me know what the quality is like when converting from PDF to Tiff? Thanks for any assistance you can provide.

Victor Vishnyakov

unread,
Nov 21, 2002, 7:28:59 AM11/21/02
to
Daryl, there are 15 MB details in the source code ... now we improved our library up to 3.600 dpi, probably, it can work within higher resolution, but was never tested for it.

What details you are interesting in?

Aandi Inston

unread,
Nov 21, 2002, 1:53:59 PM11/21/02
to
Very few (if any) of us here are licensees of the Adobe PDF Library,
so we may not be able to give much insight. The chances are, though,
that it will rasterise using the same basic code as Acrobat.

Aandi Inston

Daryl Te

unread,
Nov 21, 2002, 1:39:31 PM11/21/02
to
Victor, I may have been looking at the wrong SDK... Adobe SDK rather than PDF Library SDK. I will be using the PDF Library SDK to integrate with my application, which involves converting PDF files to Tiff files. One of the things I'm interested in knowing prior to doing it is the image quality of the Tiff files after the conversion. If you have any insight on this, I would greatly appreciate it. Thanks.

Kelly76

unread,
Nov 21, 2002, 5:41:57 PM11/21/02
to
I am trying to convert a PDF to a JPG file too! I can do it manually by selecting "File>Save As". Then under "Format" I select "JPEG files" and it works. I just need to do this through applescript. Applescript's Acrobat Dictionary does not include a keyword for "Save As", although it does have one for "Save", and it mentions "Save As". Any ideas?

Aandi Inston

unread,
Nov 22, 2002, 3:32:16 AM11/22/02
to
There is no AppleScript interface to this. A plug-in could do this,
but even then it would be quite a struggle. Maybe Photoshop would be a
more amenable tool.

Aandi Inston

Victor Vishnyakov

unread,
Nov 22, 2002, 9:58:52 AM11/22/02
to
Daryl, we have developed our own library in C++, PDF Library SDK costs too much and I have no chance to take a look how it works. Ask Adobe for more information on quality.

Kelly76, I think Adobe is not welcome to give to users ability to do this for free( price of Acrobat is too low for allowing this ) it is quite expensive and demanded task for press.

0 new messages