Lanczos3 WASM · 100% local in your browser · Never uploaded · No sign-up

Free Local Image Resizer

Resize photos to exact pixel dimensions with Lanczos3 WebAssembly resampling and one-click presets for Instagram, YouTube, Shopify, Open Graph, and responsive web breakpoints—100% locally.

Supported inputs: JPEG, PNG, WebP (up to 10 images per batch)

How to resize images cleanly with Lanczos3 resampling

  1. Load one or up to 10 photos locally: Drag and drop JPEG, PNG, or WebP files. Original dimensions and aspect ratio are read instantly inside your browser.
  2. Select a platform preset or enter custom width and height: Pick a verified social, e-commerce, or Open Graph preset, or enter exact pixel targets with aspect-ratio lock enabled to prevent stretching.
  3. Choose output format and quality: Export as MozJPEG, WebP, or lossless OxiPNG depending on whether your destination requires transparency or minimal byte weight.
  4. Compare sharpness and download: Use the Before/After slider to inspect micro-contrast on hair, text, and product edges, then download directly to your device.

Why Lanczos3 WebAssembly resampling stays sharper than browser bilinear scaling

When you resize a 4000 px photograph down to 1200 px using a basic browser canvas drawImage() call, many browsers fall back to single-pass bilinear or box filtering. That shortcuts the math by averaging only a tiny neighborhood of pixels, which introduces aliasing shimmer on fine textures (brick, hair, woven fabric) and softens crisp UI edges.

Lanczos3 uses a three-lobed windowed sinc kernel that samples a wider grid of neighboring pixels with mathematically optimal frequency cutoffs. When downscaling high-resolution DSLR or smartphone photos for web and e-commerce thumbnails, Lanczos3 preserves fine edge acutance without artificial haloing or stair-stepped diagonals.

Because FunnyBanana runs the Lanczos3 filter inside a compiled WebAssembly module in your browser, you get Photoshop-grade Bicubic/Lanczos sharpness without installing desktop software or uploading unreleased product catalogs to third-party servers.

Verified 2026 pixel dimension reference for social, e-commerce, and SEO share cards
Platform / SurfaceRecommended Pixels (W × H)Aspect RatioSafe FormatPractitioner Note
Instagram Portrait Feed1080 × 13504:5JPEG (sRGB)Occupies maximum vertical mobile feed space without auto-crop
Instagram Square / Carousel1080 × 10801:1JPEG (sRGB)Keep key text 10% inside edges for profile grid safety
Instagram Story / Reels / TikTok1080 × 19209:16JPEG / PNGLeave top 250 px and bottom 340 px clear of UI overlays
YouTube Video Thumbnail1280 × 72016:9JPEG / PNG (< 2 MB)Must be ≥ 640 px wide; keep under 2 MB upload cap
Open Graph / X / LinkedIn Share Card1200 × 6301.91:1JPEG / WebPPreferred by Facebook, X summary_large_image, and Google Discover
Shopify & Amazon Product Square2048 × 20481:1JPEG (Q82–85)Enables hover-zoom magnifier without pixelation

Worked numeric example: avoiding distortion and Cumulative Layout Shift (CLS)

Two resizing mistakes account for the majority of visual bugs on marketing sites: unlocking aspect ratio (which stretches faces and product packaging) and shipping oversized 4K photos into 600 px cards (which wastes 90% of mobile bandwidth and spikes decoding memory).

Maintaining proportional scaling is straightforward arithmetic: newHeight = Math.round(originalHeight × (targetWidth / originalWidth)). Locking aspect ratio guarantees zero geometric distortion while letting you hit exact responsive breakpoints.

Upscaling limits, DPI myths, and troubleshooting blurry thumbnails

A persistent myth from print workflows is that changing a file metadata tag from "72 DPI" to "300 DPI" improves web sharpness. Web browsers completely ignore DPI/PPI metadata; they render strictly by pixel count (width × height) divided by device pixel ratio. For physical printing, multiply desired inches by 300 (for example, a 4×6 inch photo print requires 1200×1800 pixels).

Equally important: mathematical resampling like Lanczos3 excels at downscaling, but it cannot invent missing detail when upscaling a tiny 200 px thumbnail to 2000 px. If you need to enlarge a low-resolution vintage portrait or heavily cropped family photo, use AI restoration first rather than pure pixel interpolation.

Resizing edge cases, causes, and reliable remedies
IssueWhy It HappensBest Fix
Image looks stretched or squishedAspect ratio lock was disabled when typing mismatched width and heightKeep aspect-ratio lock ON; set only width (or height) and let the engine compute the other axis
Enlarged photo looks soft or waxyUpscaling > 150% stretches existing pixels without adding real textureStart from a higher-resolution source or restore detail with AI Old Photo Restoration
Social platform still blurs uploaded imagePlatform re-compresses uploads exceeding its target width (e.g., > 1080 px on Instagram)Export at exact platform preset width (1080 px) at JPEG Q82 so the platform skips harsh downscaling
Memory warning on huge 100 MP panoramasBrowser tab canvas/WASM heap limits single uncompressed RGBA buffersResize large files one at a time rather than in a 10-file batch
  • Verify orientation before resizing—modern smartphone photos store rotation in EXIF, which this tool decodes cleanly before applying Lanczos3.
  • For Google Discover eligibility, ensure feature images are at least 1200 px wide and include max-image-preview:large in your page robots meta tag.
  • For batch product catalogs, use consistent square or 4:5 dimensions across every SKU so category grids never jitter.

Frequently asked questions

Does resizing an image locally reduce its sharpness?

Downscaling with Lanczos3 WebAssembly preserves maximum edge clarity and avoids the muddiness common in basic browser bilinear resizing. However, upscaling a small image far beyond its original pixel dimensions will always look softer because mathematical interpolation cannot invent new texture.

Can I resize up to 10 images to the same width at once?

Yes. Drop up to 10 JPEG, PNG, or WebP files into the workspace, pick a preset or custom target dimension, and process the entire queue locally in one click.

What is the difference between pixel dimensions and DPI?

Pixels (width × height) determine actual image resolution on screens and websites. DPI (dots per inch) is only a print-scaling instruction; browsers ignore DPI metadata entirely.

Which dimensions should I use for Open Graph social previews?

Use 1200 × 630 pixels (1.91:1 aspect ratio) in JPEG or WebP format. This displays cleanly across X (Twitter), LinkedIn, Facebook, Slack, iMessage, and Google Discover without awkward cropping.

Are my photos sent anywhere during resizing?

Never. Both image decoding and Lanczos3 WebAssembly resampling execute strictly inside your browser tab memory with zero server upload and zero sign-up.

Primary technical references

More free browser-local image tools