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
- 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.
- 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.
- Choose output format and quality: Export as MozJPEG, WebP, or lossless OxiPNG depending on whether your destination requires transparency or minimal byte weight.
- 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.
| Platform / Surface | Recommended Pixels (W × H) | Aspect Ratio | Safe Format | Practitioner Note |
|---|---|---|---|---|
| Instagram Portrait Feed | 1080 × 1350 | 4:5 | JPEG (sRGB) | Occupies maximum vertical mobile feed space without auto-crop |
| Instagram Square / Carousel | 1080 × 1080 | 1:1 | JPEG (sRGB) | Keep key text 10% inside edges for profile grid safety |
| Instagram Story / Reels / TikTok | 1080 × 1920 | 9:16 | JPEG / PNG | Leave top 250 px and bottom 340 px clear of UI overlays |
| YouTube Video Thumbnail | 1280 × 720 | 16:9 | JPEG / PNG (< 2 MB) | Must be ≥ 640 px wide; keep under 2 MB upload cap |
| Open Graph / X / LinkedIn Share Card | 1200 × 630 | 1.91:1 | JPEG / WebP | Preferred by Facebook, X summary_large_image, and Google Discover |
| Shopify & Amazon Product Square | 2048 × 2048 | 1:1 | JPEG (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.
| Issue | Why It Happens | Best Fix |
|---|---|---|
| Image looks stretched or squished | Aspect ratio lock was disabled when typing mismatched width and height | Keep aspect-ratio lock ON; set only width (or height) and let the engine compute the other axis |
| Enlarged photo looks soft or waxy | Upscaling > 150% stretches existing pixels without adding real texture | Start from a higher-resolution source or restore detail with AI Old Photo Restoration |
| Social platform still blurs uploaded image | Platform 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 panoramas | Browser tab canvas/WASM heap limits single uncompressed RGBA buffers | Resize 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
- Google Search Central — Google Discover image requirements (1200 px minimum) — Official requirement for large, compelling images at least 1200 px wide.
- web.dev — Serve responsive images — Detailed guide to srcset, sizes, and matching pixel dimensions to viewport DPR.
- MDN Web Docs — Responsive images and intrinsic aspect ratio — Standards reference for avoiding CLS and wasted bytes across viewports.
More free browser-local image tools
- Local Image Compressor (MozJPEG / OxiPNG / WebP WASM)
- PNG to JPG Converter (MozJPEG WASM)
- WebP to PNG Converter (libwebp + OxiPNG WASM)
- EXIF & GPS Metadata Remover (Lossless Binary Stripper)