FLXCode Image Resizer

FLXCode apps

Appearance

Image Resizer

Resize one photo or fifty to an exact size, a percent or a ready-made preset. The pictures stay on your device.

or drop them here, or paste with Ctrl+V

JPG, PNG, WebP, HEIC, AVIF, GIF and BMP, up to 50 megapixels each. Nothing is uploaded. Location and camera data are removed from the saved files.

Works offline: load this page, edit one picture, turn off Wi-Fi, edit more. Nothing you add is sent anywhere.

Your pictures never leave this device. There is no upload, no account and no watermark. How we count

Problem or idea? Email us

How to use it

  1. Choose your pictures, or drop them on the box. HEIC photos from an iPhone work too.
  2. Pick how to resize: a preset, exact pixels, a percent, or the longest side.
  3. Check the line under the settings. It shows the first picture before and after.
  4. Press Resize, then save each file or take the zip.

What the presets do to a 4000 × 3000 photo

A 12 MP phone photo, landscape. The sizes below come from the same code the tool runs. The aspect ratio always stays.

PresetResult in pxPixels left
Instagram post, 1080 px1,080 × 8107.3%
Instagram story, 1080 × 19201,080 × 8107.3%
Email, 1600 px1,600 × 1,20016%
Blog or forum, 1200 px1,200 × 9009%
Full HD, 1920 × 10801,440 × 1,08013%
Thumbnail, 256 px256 × 1920.4%

Pixels left is the new pixel count divided by the old one. A file is not always that much smaller, because the compression changes too.

The same presets on a portrait photo, 3000 × 4000

Presets that name one side use the longer side, so a portrait photo comes out tall.

PresetResult in pxPixels left
Instagram post, 1080 px810 × 1,0807.3%
Instagram story, 1080 × 19201,080 × 1,44013%
Email, 1600 px1,200 × 1,60016%
Blog or forum, 1200 px900 × 1,2009%
Full HD, 1920 × 1080810 × 1,0807.3%
Thumbnail, 256 px192 × 2560.4%

Pixels, percent, longest side or a preset

Pixels is for a size you know, like 800 px wide. With "Keep the aspect ratio" on, type one side and the other follows. Type both and the picture is fitted inside that box. Turn the lock off to stretch to exactly the two numbers.

Percent scales both sides together, so 50% leaves a quarter of the pixels. Longest side is the quick way to get "no bigger than 1600 px" for a batch of photos with different shapes.

Numbers this uses

  • Instagram post, 1080 px: the width the app shows feed photos at, so a bigger file gains nothing. Check the app if Instagram changes this.
  • Instagram story, 1080 × 1920: the 9:16 screen size. The picture is fitted inside it, not stretched or cropped.
  • Email, 1600 px: our pick. It is sharp on a laptop screen and usually a few hundred KB as a JPG. It is not a standard.
  • Blog or forum, 1200 px and thumbnail, 256 px: common practice, also our pick.
  • Full HD, 1920 × 1080: the pixel count of a 1080p screen. Fitted inside, aspect kept.
  • "Don't enlarge" is on by default for presets and the longest side: a picture already smaller is left at its size.
  • Size cap: 50 megapixels in and out (16.777 MP out on iPhone and iPad). Files up to 100 MB, 50 per batch, 500 MB together.
  • JPG and WebP quality starts at 90%. PNG has no quality setting.

How the shrinking works

The tool draws the picture onto a canvas at the new size. A big shrink is done in halves: 4000 px down to 1000 px goes 2,000 × 1,500 first, then 1,000 × 750. That looks much sharper than one jump.

Photos taken sideways are turned upright first, using the rotation tag in the file. The saved file has no location, camera or date tags.

Pictures are opened and saved by your browser. A finished run counts one event, "resize", and never a file name, size or dimension (details). Zip files are made with fflate and HEIC decoding uses libheif: open source used on this site.

FAQ

Is there a quicker way to make a picture half its size?

Yes. Resize image opens at 50 percent, so one click on Resize halves both sides. You can still change it to pixels or a preset there.

How do I resize an image without losing quality?

Making a picture smaller always throws away some detail, but a shrink in halves keeps it sharp. Keep the aspect ratio, save as JPG at 90% or more, and never enlarge. Making a picture bigger cannot add detail that was not there.

How do I resize an image to an exact size in pixels?

Choose Pixels, turn off "Keep the aspect ratio" and type both numbers. The picture is stretched to fit, so use this only when the shape is allowed to change. To keep the shape and fit inside a box, leave the lock on and type both numbers.

Can I resize many pictures at once?

Yes, up to 50 at a time. Every picture gets the same setting, and with two or more results you can take one zip file. Output names end in "-resized", so your originals are never overwritten.

How do I make a file smaller in KB, not pixels?

Resizing cuts the pixels, which usually cuts the file size too, but you cannot set a KB target here. For an exact limit like 200 KB use the image compressor.

What size should a picture be for Instagram?

For a feed post, 1080 px on the longest side is enough, and the preset does that. For a story use the 1080 × 1920 preset. Photos wider than 1080 px are scaled down by the app anyway.

Does image resolution or DPI change here?

No. Screens only use the pixel count. DPI is a label for printing. To print a picture at 300 dpi, divide the pixel size by 300 to get inches: 1800 px is 6 inches.

Why is my resized PNG still big?

PNG stores every pixel without loss, so photos stay large as PNG. Save as JPG or WebP for photos, or keep PNG for logos and screenshots.

Are my pictures uploaded?

No. The picture is read and edited by your browser on this device. To check it, load this page, switch to airplane mode and edit a file. It still works. The picture and its file name are never put in the address, saved or counted.

More from FLXCode

Share Image Resizer