Skip to content

Reduce size of png from 2.3MB to 1.3MB #7523

Open
jothikaaravindhan wants to merge 1 commit intolayer5io:masterfrom
jothikaaravindhan:fix/reduce-large-image-size
Open

Reduce size of png from 2.3MB to 1.3MB #7523
jothikaaravindhan wants to merge 1 commit intolayer5io:masterfrom
jothikaaravindhan:fix/reduce-large-image-size

Conversation

@jothikaaravindhan
Copy link

Description

Reduced the size of an overly large PNG image identified in issue #7247.

Changes

  • Optimized:
    • src/assets/images/five/SVG/layer5-five-mascot-means-business.png
  • Reduced size from 2.3MB → 1.3MB using pngquant

How it was identified

Used:
find . -type f -size +2M | grep png

Notes

  • No visible quality loss observed
  • Skipped animated GIFs as instructed
  • Focused on direct size reduction (no format conversion in this PR)

@jothikaaravindhan
Copy link
Author

Hi @leecalcote !

In this PR, I focused on reducing the file size by compressing the PNG image (2.3MB → 1.3MB) using pngquant.

I noticed that in PR #7474, images were converted from PNG to WebP along with MDX updates for better optimization.

Would you prefer that I also convert this image to WebP and update references, or is PNG compression sufficient for this contribution?

Signed-off-by: Jothika Aravindhan <jothikaaravindhan@gmail.com>
@jothikaaravindhan jothikaaravindhan force-pushed the fix/reduce-large-image-size branch from 8c3cd92 to 0fa4ca4 Compare March 18, 2026 17:58
@l5io
Copy link
Member

l5io commented Mar 18, 2026

🚀 Preview for commit 0fa4ca4 at: https://69baeb3ae283bf49d609de9d--layer5.netlify.app

@Rajesh-Nagarajan-11
Copy link
Member

Rajesh-Nagarajan-11 commented Mar 18, 2026

Webp please but without comprising the quality

@saurabhraghuvanshii
Copy link
Member

@jothikaaravindhan use webp format and reduce to kb

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.

4 participants