NumPy Logic · Browser Execution

Compress images,
recursively.

A visual tool that shrinks images by averaging 2x2 pixel blocks, and reconstructs them using nearest-neighbor or bilinear interpolation.

Open Workspace ↓
Upload Image
🗜️

Drag & Drop your image

Supports JPG, PNG, WEBP

Action
Levels 2
Original
-- × -- px
Compressed
-- × -- px
01 — Features

Four functions.
One pipeline.

01
Shrink in Half

Makes the image half its size. Every little 2×2 group of pixels gets blended into one — so the picture shrinks without just chopping detail off.

02
Fast Zoom, Blocky

Scales the shrunk image back up the fast way — each pixel just gets copied into a bigger square. Quick, but it looks blocky, like old-school pixel art.

03
Slow Zoom, Smooth

Scales the shrunk image back up the smooth way — it blends neighboring pixels together instead of copying them, so the result looks soft and natural instead of blocky.

04
Quality Score

Gives the rebuilt image a score out of how close it looks to the original — the higher the number, the less detail was lost along the way.