程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Python PDF dump and compression function requirements, paid

編輯:Python

I am a designer, and I usually need to transfer a lot of pdfs in my work. The workflow is as follows:

  1. Merge N pdfs into one pdf, (N is generally more than 100 pages, the volume is huge, a single file is the design content, and merged into one report file)
  2. Save the merged pdf as JPG, (for design fees and copyright reasons, the original pdf needs to be converted to image format for vector content)
  3. Compose JPG into a pdf and compress to reduce file size (reassemble into a report file and compress to suitable and send size)

Although this matter is simple, in the face of hundreds of pages of pdf each time, the merging and compression time is slow, and attention needs to be paid in the middle. It is inefficient to perform various operation steps.

I'm just new to python, and I need to be able to input a file address, and the internal pdf will be merged in order, saved as jpg, and then merged and compressed.

I hope there is a python code that can help me implement this function, and a more detailed installation method of the library, thank you!


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved