clean: Compress images - #2738
Conversation
Up to standards ✅🟢 Issues
|
There was a problem hiding this comment.
Pull Request Overview
This PR optimizes 11 PNG images in the documentation directory, achieving an approximate 79.5% reduction in file size. Codacy analysis indicates the changes are up to standards. However, the primary risk associated with bulk image compression—namely file corruption or unacceptable quality loss—is not addressed through automated checks or validation scripts. It is recommended to verify the integrity of the resulting assets before merging.
About this PR
- No automated tests or validation scripts are included to ensure that compressed images remain valid and renderable. For bulk image optimizations, it is advisable to include a basic integrity check for the file headers.
Test suggestions
- Visual verification that the 11 compressed images are not corrupted and remain legible.
- Verify that the file headers for the modified images are still valid PNG structures.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Visual verification that the 11 compressed images are not corrupted and remain legible.
2. Verify that the file headers for the modified images are still valid PNG structures.
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
Images automagically compressed by Calibre's image-actions ✨
Compression reduced images by 79.5%, saving 1.3 MB.
docs/organizations/images/security-risk-management-affected-functions.pngdocs/codacy-api/images/codacy-api-tokens-repository-created.pngdocs/codacy-api/images/codacy-api-tokens-repository-modal-custom-date.pngdocs/codacy-api/images/codacy-api-tokens-repository-modal.pngdocs/codacy-api/images/codacy-api-tokens-account-modal.pngdocs/codacy-api/images/codacy-api-tokens-repository-bulk-delete.pngdocs/codacy-api/images/codacy-api-tokens-repository-never-expires.pngdocs/codacy-api/images/codacy-api-tokens-account-table.pngdocs/repositories/images/pull-request-filters.pngdocs/release-notes/images/checkov-configuration-file.pngdocs/release-notes/images/shellcheck-configuration-file.png332 images did not require optimisation.