PNG Zoomer

Uploads a PNG, decodes it onto an off-screen canvas, crops a centered region sized to the requested zoom percentage, and resamples that crop back up to the original dimensions, then lets you download the zoomed PNG. A free online tool from Staaarter, right in your browser.

Runs locallyUpdated 2026-07-26

Overview

Introduction

This tool zooms into the center of a PNG by cropping a smaller centered region and resampling it back up to the original image's dimensions.

It runs entirely in your browser on a plain pixel buffer, so the source image is never uploaded anywhere.

What Is PNG Zoomer?

A center-crop-and-resample zoom tool: it computes a crop region sized to `1 / zoomFactor` of the original dimensions, centers it, and enlarges that crop back to the original size.

The result is always the same width and height as the source image, unlike a plain crop tool which would shrink the canvas.

How PNG Zoomer Works

For a zoom percentage of Z, the crop width and height are each the original divided by `Z / 100`, centered within the source image.

That cropped pixel buffer is then passed through the shared nearest-neighbor resizer to scale it back up to the original dimensions, producing the zoomed-in effect.

When To Use PNG Zoomer

Use it to inspect fine detail in the middle of a photo, create a simple 'zoomed in' thumbnail, or emphasize a subject at the center of an image.

It works well for square or roughly-centered subjects; off-center subjects will need to be cropped manually first.

Often used alongside PNG Upscaler, PNG Downscaler and PNG Resizer.

Features

Advantages

  • Runs entirely client-side; nothing you upload leaves your device.
  • Output dimensions always match the input, so it's a drop-in replacement in any layout expecting the original size.
  • Reuses the same proven nearest-neighbor resampling as this category's resize tools.

Limitations

  • The zoom is always centered; it can't target an off-center region of interest.
  • At high zoom percentages, nearest-neighbor upscaling can look blocky since it's not interpolating between pixels.

Examples

Zoom into a photo's center

Input

An 800x600 PNG, zoom 200%

Output

An 800x600 PNG showing the centered 400x300 crop scaled back up

200% zoom crops to half the original dimensions, then rescales to the original size.

Subtle zoom on an icon

Input

A 64x64 PNG, zoom 120%

Output

A 64x64 PNG with a slightly magnified center

Lower zoom percentages produce a gentler, less blocky magnification.

Best Practices & Notes

Best Practices

  • Keep zoom under 300% for photos to avoid visibly blocky results.
  • If your subject isn't centered, crop it to center first with another tool before zooming.

Developer Notes

The lib function builds the crop with the shared createPixelBuffer/getPixel/setPixel helpers and delegates the final upscale to the shared resizeNearest function, so it doesn't reimplement resampling logic that already exists elsewhere in this category.

PNG Zoomer Use Cases

  • Creating a zoomed-in preview thumbnail
  • Highlighting a centered subject in a product photo
  • Inspecting fine detail in the middle of a scanned image

Common Mistakes

  • Expecting the output canvas to shrink like a crop tool — it stays the original size, just magnified.
  • Using very high zoom values on a low-resolution source and expecting smooth results; nearest-neighbor scaling gets blocky fast.

Tips

  • Combine with the sharpener tool afterward if the zoomed result looks slightly soft.
  • Use a modest zoom (150-250%) for the cleanest-looking results on photos.

References

Frequently Asked Questions