会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
露娜喵喵
❤
首页
新随笔
联系
管理
2024年5月30日
python 设置图片的DPI、颜色模式(RGB/CMYK)
摘要: 使用了Python的Pillow库 import sys from PIL import Image Image.MAX_IMAGE_PIXELS = 2000000000 def convert_image_to_jpg(input_path, output_path, dpi=300, colo
阅读全文
posted @ 2024-05-30 11:57 露娜喵喵
阅读(22)
评论(0)
推荐(0)
编辑
公告