Skip to content
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

Ensure --nx --nz disables all optimisations #543

Merged
merged 2 commits into from
Sep 2, 2023

Conversation

andrews05
Copy link
Collaborator

@andrews05 andrews05 commented Jul 31, 2023

This PR makes two changes:

  • --nz (idat_recoding) now disables all zlib recompression, including iCCP and fDAT chunks. (Perhaps we should rename the option to zlib_recompression?)
  • --nx now also disables the default deinterlacing, though it can still be overridden with -i.

--nx --nz does disable all optimisations in the v8 release and we should ensure it continues to do so in the next release. (This is related to discussions around removing the --check option.)

@andrews05 andrews05 changed the title Don't recompress iCCP/fDAT if idat_recoding disabled Ensure --nx --nz disables all optimisations Aug 5, 2023
@shssoichiro shssoichiro merged commit aa956fb into shssoichiro:master Sep 2, 2023
11 checks passed
@andrews05 andrews05 deleted the recompression branch September 2, 2023 19:05
Pr0methean pushed a commit to Pr0methean/oxipng that referenced this pull request Dec 1, 2023
This PR makes two changes:
- `--nz` (`idat_recoding`) now disables all zlib recompression,
including iCCP and fDAT chunks. (Perhaps we should rename the option to
`zlib_recompression`?)
- `--nx` now also disables the default deinterlacing, though it can
still be overridden with `-i`.

`--nx --nz` does disable all optimisations in the v8 release and we
should ensure it continues to do so in the next release. (This is
related to discussions around removing the `--check` option.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants