Skip to content

Add PNG optimization to pre-commit #138848

@StanFromIreland

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

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