-
1. Re: Convert image to a PDEImage
lrosenth Jul 15, 2009 12:38 PM (in response to joeln3)What's wrong with the functionality already present in Acrobat to do this? Have you looked at the AVConversion APIs?
-
2. Re: Convert image to a PDEImage
joeln3 Jul 22, 2009 12:32 AM (in response to lrosenth)Hi Leonard,
Actually I'm looking for a function which can create PDEImage (to be inserted in a document) from an existing file.
If I'm right the AVConversion method convert an existing file in a new document (PDDoc). I understand the usage of the AVConversion method to convert an image to a PDEImage but I'm looking for a method to do the work without creating a "temporary" document.
Thanks in advance for your help,
Joe
-
3. Re: Convert image to a PDEImage
lrosenth Jul 22, 2009 2:58 AM (in response to joeln3)Sorry, there are no such APIs in the Acrobat SDK at this time.
-
4. Re: Convert image to a PDEImage
joeln3 Jul 23, 2009 1:43 AM (in response to lrosenth)Ok. So I'll use the AVConversion method to convert the images to PDF. Unfortunatelly I can't convert EPS file to PDF (only bmp, gif, jpeg, png, tiff, ... are supported).
Do you know a way to convert an EPS image to PDF (or insert it) using the Acrobat SDK?
Thanks in advance,
Joe
-
5. Re: Convert image to a PDEImage
Bernd Alheit Jul 23, 2009 2:36 AM (in response to joeln3)With Acrobat Distiller you can convert EPS to PDF.
-
6. Re: Convert image to a PDEImage
joeln3 Jul 23, 2009 2:50 AM (in response to Bernd Alheit)Yes thanks. Another way is to open an AVDoc from the EPS file.
Joe
-
7. Re: Convert image to a PDEImage
lrosenth Jul 23, 2009 3:46 AM (in response to joeln3)That's not true! AVConversion supports a LOT of file formats (not just images) including EPS, MSWord, AutoCAD, etc.
-
8. Re: Convert image to a PDEImage
joeln3 Jul 23, 2009 3:49 AM (in response to lrosenth)I agree with you Leonard. That was a non-exhaustive list.
But in my case I use AVConversion from file to PDF and if I'm right the EPS file format is only supported to use AVConversion form PDF to file.
Regards,
Joe
-
9. Re: Convert image to a PDEImage
lrosenth Jul 23, 2009 3:55 AM (in response to joeln3)Nope - it works from file to PDF.
You can prove it by simply dropping an EPS file on Acrobat's icon (or the main window). It will convert it to PDF. That is just using the same public AVConversion APIs that you have access to.
-
10. Re: Convert image to a PDEImage
joeln3 Jul 23, 2009 4:00 AM (in response to lrosenth)Ok but in this case which is the AVConversionToPDFhandler.uniqueID that I have to use?
I tried using the "com.adobe.acrobat.eps" but it doesn't exist in the AVConversionToPDFHandler and I'm facing to an error.
Regards,
Joe
-
11. Re: Convert image to a PDEImage
lrosenth Jul 23, 2009 5:08 AM (in response to joeln3)That should be it - but try .ps as well.
Also, see what happens if you iterate over them to find the right one.
-
12. Re: Convert image to a PDEImage
joeln3 Jul 23, 2009 5:21 AM (in response to lrosenth)Thanks Leonard. It' working with .ps!




