Now that the conversion API is discontinued is there a way to convert PDF files to an image in appengine / python?

邮差的信 提交于 2020-01-11 08:41:33

问题


Now that the Google Conversion API has been discontinued is there a way to convert PDF files to images in GAE, specially python?

Looks like someone has already requested this from Google but there hasn't been any action.

A couple years ago the consensus was it wasn't possible. Anything new out there that could help me out?


回答1:


If you read the issue report you linked to, there are two suggestions there:

  1. Use ImageMagick to do it locally.
  2. Use the service described in the comments that is "working well", "super easy to deploy", and "freely available", and good enough that "this issue can be closed".

The first is obviously not possible if you're running in a pure hosted environment that doesn't provide ImageMagick, but the second has no such problem. Of course neither is an "official Google" solution, but… so what?

If there's something specific you can't do either way, you'll have to tell us what.



来源:https://stackoverflow.com/questions/14061732/now-that-the-conversion-api-is-discontinued-is-there-a-way-to-convert-pdf-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!