Skip to content

Commit

Permalink
publish 0.2.23 : ppt2img
Browse files Browse the repository at this point in the history
  • Loading branch information
heyWFeng committed Mar 5, 2023
1 parent 992ef4f commit 8d5bfa1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion office/__init__.py
Expand Up @@ -17,5 +17,5 @@
print('1、全部功能【视频 & 文字】教程:https://www.python-office.com/')
print('2、请+【项目交流群】:http://t.cn/A65MiFvH')
print('3、本开源项目的【代码仓库】:https://github.com/CoderWanFeng/python-office')
print('4、【常见问题】:https://www.python-office.com/ref/qaq.html')
print('4、新人10大【常见问题】:https://www.python-office.com/ref/qaq.html')
print(SPLIT_LINE)
5 changes: 5 additions & 0 deletions office/api/ppt.py
Expand Up @@ -21,3 +21,8 @@
@instruction
def ppt2pdf(path: str):
poppt.ppt2pdf(path)


@instruction
def ppt2img(input_path, output_path=r'./', img_type='jpg'):
poppt.ppt2img(input_path, output_path, img_type)
4 changes: 3 additions & 1 deletion office/lib/decorator_utils/instruction_url.py
Expand Up @@ -42,7 +42,9 @@
"pdf2docx": "https://mp.weixin.qq.com/s/eTwtTXLAudRQmyhE4LY_Dg",
"pdf2imgs": "https://mp.weixin.qq.com/s/tvHZIBGcrMBLTLB4u23Mow",
"txt2pdf": "", }
ppt_dict = {"ppt2pdf": "https://mp.weixin.qq.com/s/T31F-U5AdDd3D-61b_K5Qg", }
ppt_dict = {"ppt2pdf": "https://mp.weixin.qq.com/s/T31F-U5AdDd3D-61b_K5Qg",
"ppt2img": "https://mp.weixin.qq.com/s/KtxI8H0RVJEnYtB18T6XiQ",
}
tools_dict = {"create_article": "https://mp.weixin.qq.com/s/guBtZHyUyybGNOqzZke1kQ",
"lottery8ticket": "https://mp.weixin.qq.com/s/Q6JgW06hMUSik0DqGD0rOA",
"net_speed_test": "https://www.bilibili.com/video/BV1fD4y1x7ZE",
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Expand Up @@ -177,7 +177,6 @@ moviepy
pywin32
rich >= 9.13.0
you-get
PyOfficeRobot
uiautomation
schedule

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = python-office
version = 0.2.18
version = 0.2.23
description = python for office
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit 8d5bfa1

Please sign in to comment.