-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow disabling default emission of JPEG APP0 and APP14 segments #7679
Open
bgilbert
wants to merge
7
commits into
python-pillow:main
Choose a base branch
from
bgilbert:jpeg-app-segments
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Jan 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6ade47f - Browse repository at this point
Copy the full SHA 6ade47fView commit details
Commits on Jan 8, 2024
-
Allow disabling default emission of JPEG APP0 and APP14 segments
When embedding JPEGs into a container file format, it may be desirable to minimize JPEG metadata, since the container will include the pertinent details. By default, libjpeg emits a JFIF APP0 segment for JFIF- compatible colorspaces (grayscale or YCbCr) and Adobe APP14 otherwise. Add a no_default_app_segments option to disable these. 660894c added code to force emission of the JFIF segment if the DPI is specified, even for JFIF-incompatible colorspaces. This seems inconsistent with the JFIF spec, but apparently other software does it too. no_default_app_segments does not disable this behavior, since it only happens when the application explicitly specifies the DPI.
Configuration menu - View commit details
-
Copy full SHA for 8053d5e - Browse repository at this point
Copy the full SHA 8053d5eView commit details
Commits on Jan 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 67c6811 - Browse repository at this point
Copy the full SHA 67c6811View commit details -
Configuration menu - View commit details
-
Copy full SHA for 520bf63 - Browse repository at this point
Copy the full SHA 520bf63View commit details
Commits on Feb 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0cb8654 - Browse repository at this point
Copy the full SHA 0cb8654View commit details
Commits on Feb 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4d8567c - Browse repository at this point
Copy the full SHA 4d8567cView commit details
Commits on Jul 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 604c1cf - Browse repository at this point
Copy the full SHA 604c1cfView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.