Avatar

Level 1

Hi,

1.We need to convert the each page of the PDF to JPG image in JAVA .

   DoLiveCycle ES APIs or any other Acrobat product provide API or SDK to do so?.

2. Is it possible to get the Orginal dimension  and the DPI  information (if the document is created in photoshop with 1667 X 1667 pixel as dimensions and DPI as 250 ) for each page.If so that is the API we can use for it.

For example:

a PDF document with

Width  :1667 px

Height :1192 px

Document Width :6.668 inches

                Height:4.768 inches

DPI is 250 pixels/inch.

When i open the same docuent in notepad I am able see the header information as /MediaBox [ 0 0 480 343 ]

and

<<
/Type /XObject
/Subtype /Image
/Interpolate false
/Filter /DCTDecode
/Width 1667
/Height 1192

/BitsPerComponent 8
/ColorSpace /DeviceRGB
/Length 11 0 R

>>

which is nothing but (1667 /250)*72 and (1667 /250)*72.

we want the values as

Width  :1667 px and

Height :1192 px

is it possible to get?.

Regards,

Uvaraj S.