Question

I have noticed that when you view PDFs in google docs the PDF viewer renders the PDF file into PNG images.

I was wondering if you could use Google Data API to upload a PDF and get the URLs of the rendered PNG files?

I have never used the google API or really had the extra time to learn it, but if it help me do this it will be well worth the extra time.

Was it helpful?

Solution

No you can't do it. Google explicitly does not allow it.

Downloading PDFs and arbitrary files

Native PDF files cannot be exported in a format other than .pdf.

OTHER TIPS

I doubt it.. I think it would be easier/more stable to use imagemagick or some other library to handle this. Converting PDFs to images usign imagemagick is just one CLI command.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top