Support scan script selection for `progressive` argument

未关闭
#3,343 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
c, python

调研方向

Start in src/libImaging/JpegEncode.c at the jpeg_simple_progression call, then trace how the JPEG progressive option reaches that encoder. Determine how a caller could select a scan script and identify the relevant tests or test entry points before changing the API. Done means the progressive option accepts a scan-script selection and uses it when encoding JPEGs.

由索引模型根据 Issue 内容生成。

描述

Enhancement JPEG

This is a feature request. Apologies if it already exists and please direct me to the right option.

For the JPEG progressive option, the current code calls jpeg_simple_progression at https://github.com/python-pillow/Pillow/blob/fdbd719da4c77c7e23e2e9e9b71d0d177f2d3369/src/libImaging/JpegEncode.c#L218

Would it be possible to support an argument to specify the scan script to use?

主要语言
Python
星标
14k
派生
2.6k
平均合并
1 天 1 小时
30 天内合并 PR
205

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

python-pillow/Pillow 的其他 Issue

查看 python-pillow/Pillow 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。