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

Automatically optimise PNG/bitmap images #778

Open
stevejalim opened this issue Aug 26, 2023 · 0 comments
Open

Automatically optimise PNG/bitmap images #778

stevejalim opened this issue Aug 26, 2023 · 0 comments

Comments

@stevejalim
Copy link
Contributor

stevejalim commented Aug 26, 2023

Over in https://github.com/mozilla/release-notes-media we have a workflow where an image added to the repo is automatically uploaded to an relevant cloud bucket.

We should optimise this image before upload, to ensure it's not unnecessarily large.

However, because automatic optimisation can misfire/over-optimise. We should also support the option to skip optimisation (eg via a keyword in a filename or - perhaps better - in the commit that adds the file)

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

No branches or pull requests

1 participant