{"repo":"calibreapp/image-actions","free":true,"listed":false,"github":"https://github.com/calibreapp/image-actions","clone":"git clone https://github.com/calibreapp/image-actions.git","description":"A Github Action that automatically compresses JPEGs, PNGs, WebPs & AVIFs in Pull Requests.","language":"TypeScript","stars":1574,"topics":["compression","github-action","performance","performance-monitoring","performance-testing","image-processing","image-compression","github-actions"],"license":"GPL-3.0","category":"media-processing","readme_excerpt":"Calibre Image Actions Image Actions is a Github Action built by your #webperf monitoring friends at Calibre. It automatically compresses JPEGs, PNGs, WebPs and AVIFs for each Pull Request. Image Actions offers: - Fast, efficient and near-lossless compression - Best image compression algorithms available (libvips) - Ease of customisation: use default settings or adapt to your needs - Running on demand or schedule - Supports GitHub Enterprise ...and more! 🖇 Table of Contents 1. Usage 2. Configuration 3. Migrating legacy configuration 4. Contributing 5. Resources 6. License 🛠 Usage 1. Create a .github/workflows/calibreapp-image-actions.yml file in your repository with the following configuration: 2. Open a Pull Request with new or updated imagery. Image Actions will optimise images, and commit them to your branch: 3. Merge your Pull Request and enjoy lighter images or explore what’s possible further with configuration options. 👇🏻 ⚙️ Configuration By default, Image Actions optimises new or updated images in each Pull Request. For manual runs ( workflow dispatch ), scheduled runs, or API failures, all images will be processed. Control image quality settings Add the following arguments to the workflow definition to control compression settings: Options: - jpegQuality: Number, integer 1-100, default 85 stored in a string. - jpegProgressive: Boolean, true or false, default false. - pngQuality: Number, integer 1-100, default 80 stored in a string. - webpQuality: Number, integer 1-","default_branch":null,"files":null,"tree":[],"storefront":"/r/calibreapp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/calibreapp/image-actions/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}