Skip to content

clean: Compress images - #2738

Open
github-actions[bot] wants to merge 1 commit into
masterfrom
create-pull-request/patch-1788153986
Open

clean: Compress images#2738
github-actions[bot] wants to merge 1 commit into
masterfrom
create-pull-request/patch-1788153986

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Images automagically compressed by Calibre's image-actions

Compression reduced images by 79.5%, saving 1.3 MB.

Filename Before After Improvement
docs/organizations/images/security-risk-management-affected-functions.png 271.6 KB 52.9 KB 80.5%
docs/codacy-api/images/codacy-api-tokens-repository-created.png 228.5 KB 38.9 KB 83.0%
docs/codacy-api/images/codacy-api-tokens-repository-modal-custom-date.png 233.3 KB 49.5 KB 78.8%
docs/codacy-api/images/codacy-api-tokens-repository-modal.png 185.8 KB 40.8 KB 78.1%
docs/codacy-api/images/codacy-api-tokens-account-modal.png 182.8 KB 37.9 KB 79.2%
docs/codacy-api/images/codacy-api-tokens-repository-bulk-delete.png 177.5 KB 33.6 KB 81.1%
docs/codacy-api/images/codacy-api-tokens-repository-never-expires.png 159.9 KB 33.4 KB 79.1%
docs/codacy-api/images/codacy-api-tokens-account-table.png 120.2 KB 26.1 KB 78.3%
docs/repositories/images/pull-request-filters.png 115.1 KB 28.4 KB 75.4%
docs/release-notes/images/checkov-configuration-file.png 27.1 KB 6.6 KB 75.6%
docs/release-notes/images/shellcheck-configuration-file.png 21.9 KB 5.8 KB 73.4%

332 images did not require optimisation.

@github-actions
github-actions Bot requested a review from a team as a code owner August 31, 2026 05:26
@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant