Notes

Images

Security notes, SOC lab write-ups and tested code by Mahir Faysal, a SOC Level 1 cybersecurity learner in Bangladesh, plus notes from my Next.js and Gemini projects. Sample posts are marked and drafts stay in the admin area.

Best JPEG Quality Setting for Web, Email and Print (We Tested 40 to 100)
Coding tips

Best JPEG Quality Setting for Web, Email and Print (We Tested 40 to 100)

For most web photos, a JPEG quality setting between 75 and 85 gives the best balance of sharpness and file size. Use 85 to 90 for portfolio images and prints you'll edit later, and avoid 100, which creates much larger files with almost no visible improvement.

October 18, 2026 · 10 min read · 28 views

How to Resize an Image for Web: Dimensions, Compression and WebP
Coding tips

How to Resize an Image for Web: Dimensions, Compression and WebP

To resize an image for the web, set the display dimensions you need (for example 1200×630 for Open Graph social cards), export at 1× or 2× that size, compress with a modern format such as WebP, and never upscale a small photo to invent detail.

October 18, 2026 · 11 min read · 27 views

0%