PDF upload - metadata of the generated image
Hi,
Is there a way to get the metadata of the image that's generated from an uploaded PDF? I know I can get the metadata of the PDF itself, however for example the dimensions (width X height) of the image generated from the PDF is not present.
I can call the image, as per the documentation, by changing the .pdf extension of the URL to .jpg - but the image has to be downloaded to the client before getting its dimensions.
-
Hi Tamer,
When uploading pdf as the image you can get the width, height, and other information as the response.When uploading it as the pdf you will get the pdf data response and not the width/height.
You can get the meta-data of the image by using "image_metadata=true" in the API call. Through the Media Library, you can see the meta-data information when you open the pdf.
Thanks,
Aditi0
Post is closed for comments.
Comments
1 comment