Support scan script selection for `progressive` argument

Offen
#3,343 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
c, python
Bereich
computer-vision

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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?

Vorherrschende Sprache
Python
Sterne
14k
Forks
2.6k
Ø Merge
1 T. 1 Std.
Gemergte PRs (30 T.)
205

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python-pillow/Pillow

Alle Issues in python-pillow/Pillow

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.