开发者

Can I use google API to convert a PDF into PNGs?

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 g开发者_开发技巧oogle 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.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜