在Django中从.ppt/pptx文件创建jpg/png [英] Creating jpg/png from .ppt/pptx file in django

查看:72
本文介绍了在Django中从.ppt/pptx文件创建jpg/png的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在保管箱" https://www上有一个pptx文件.dropbox.com/s/f5167jrxutvj37u/ASD.pptx?dl=0 ".

我想在django模板或django def函数中将此文件转换为幻灯片图像(jpg/png ..).

我将使用django模板中的所有ppt图像进行其他操作.

I will use all the ppt images in my django template for some other operation.

任何建议?

已搜索了两个三小时,但未满足我的要求.(ppshape,python-ppt等)

Have searched for two three hours but not acc to my requirement. (ppshape, python-ppt etc)

预先感谢

推荐答案

我建议使用 unoconv 进行转换您的 .ppt 文件转换为PDF格式,然后使用 ImageMagick 进行转换变成一张图片.

I suggest using unoconv to convert your .ppt file to PDF format , and then use ImageMagick to convert it to an image .

这篇关于在Django中从.ppt/pptx文件创建jpg/png的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆