Skip to content

Add PNG optimization to pre-commit #138848

Description

@StanFromIreland

It might be worth adding a pre-commit check (or workflow?) to check that images are not larger than they need to be when added or changed.

Originally posted by @zware in #138842 (comment)

From some quick research, I see https://github.com/oxipng/oxipng may be a good option.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    infraCI, GitHub Actions, buildbots, Dependabot, etc.performancePerformance or resource usagetype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions