Skip to content

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

Merged
saurabhraghuvanshii merged 2 commits intolayer5io:masterfrom
jothikaaravindhan:fix/reduce-large-image-size
Mar 25, 2026
Merged

Reduce size of png from 2.3MB to 1.3MB #7523
saurabhraghuvanshii merged 2 commits intolayer5io:masterfrom
jothikaaravindhan:fix/reduce-large-image-size

Conversation

@jothikaaravindhan
Copy link
Contributor

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
Contributor 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?

@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

@l5io
Copy link
Member

l5io commented Mar 23, 2026

🚀 Preview for commit 97439d4 at: https://69c18d71c919f200d6668b4b--layer5.netlify.app

Signed-off-by: Jothika Aravindhan <jothikaaravindhan@gmail.com>
@jothikaaravindhan jothikaaravindhan force-pushed the fix/reduce-large-image-size branch from 97439d4 to 3c46bd7 Compare March 23, 2026 21:52
@l5io
Copy link
Member

l5io commented Mar 23, 2026

🚀 Preview for commit 3c46bd7 at: https://69c1b9b82a7f5a89a3bd8558--layer5.netlify.app

@saurabhraghuvanshii saurabhraghuvanshii merged commit 8a75d02 into layer5io:master Mar 25, 2026
3 checks passed
@saurabhraghuvanshii
Copy link
Member

Thanks @jothikaaravindhan LGTM!!

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