调整图片大小

免费照片与图片缩放器。以像素更改宽度和高度,保持宽高比,需要时可先裁剪,或通过放大提高照片分辨率。

将图片拖放到此处 松开即可添加

选择文件

JPEG、PNG、WEBP、GIF、BMP、TIFF、AVIF、HEIC — 每张最大 250 MB

Crop preview

Drag to select the crop area

px
px

Resize image dimensions in a few clicks

Use this page to resize image files to an exact width and height in pixels. It's the fix for upload boxes that say "image too large", social posts that get cropped badly, and product photos that are far heavier than a web page needs.

You can also crop before resizing, which matters more than people expect. If a form wants a 200 × 230 pixel photo of your face, cropping away the background first gives you a sharp face instead of a tiny one surrounded by wall.

How to resize an image

Your settings apply to every image in the batch, so you can resize a whole folder of product shots in one go.

  1. 1

    上传照片或图片

    将 JPEG、PNG、WEBP、HEIC 或其他支持的图片拖放到上传区域,或一次选择多个文件。

  2. 2

    可选先裁剪

    启用裁剪并拖动,在更改尺寸前只保留需要的部分。

  3. 3

    设置新的宽度和高度

    输入像素目标尺寸。开启宽高比时留空一个字段可等比例缩放。

  4. 4

    调整大小并下载

    点击调整图片大小,等待处理,然后下载结果。若文件仍太大无法上传,可之后再压缩。

Resize image in KB: 20KB, 50KB and 100KB

A file's size in kilobytes depends mostly on how many pixels it has. Halve the width and height and you remove three quarters of the pixels, which usually takes the file down by a similar amount. That's why resizing is the most reliable first step when a form asks for something like "JPG under 50 KB".

This tool sets pixel dimensions, not kilobytes. For an exact KB limit, resize here first and then fine-tune with the target size option in Compress Image.

You needResize to aboutThen
Under 20 KB240 × 320 px (signature: 280 × 100 px)Compress with a 20 KB target
Under 50 KB450 × 600 pxCompress with a 50 KB target if still over
Under 100 KB800 × 1000 pxUsually fits at quality 80
Under 200 KB1200 × 1600 pxUsually fits at quality 80

Exam portals often state pixel limits as well as KB limits, for example a photo of 200 × 230 pixels and a signature of 140 × 60 pixels. When both are given, match the pixel size first; the KB limit usually takes care of itself.

Common sizes worth knowing

Where it's goingWidth × height in pixels
Instagram square post1080 × 1080
Instagram portrait post1080 × 1350
YouTube thumbnail1280 × 720
X (Twitter) header1500 × 500
LinkedIn profile banner1584 × 396
Full HD wallpaper1920 × 1080
US passport photo (online)600 × 600 minimum

Platforms change their recommendations from time to time, so treat this as a starting point. For banners and thumbnails, choose Cover so the frame is filled edge to edge.

Contain, Cover and aspect ratio explained

Maintain aspect ratio

On by default. Type one dimension and the other follows, so a 4000 × 3000 photo resized to 1200 wide becomes 1200 × 900. Switch it off only when you deliberately want to squash or stretch the image.

Contain

The whole picture fits inside the box you set. If the shapes don't match, one side ends up shorter than the number you typed, but nothing is cut off.

Cover

The image fills your exact width and height, and the overflow is trimmed from the edges. A landscape photo resized to 1080 × 1080 with Cover loses a strip from the left and right. Transparent areas are kept for PNG, WEBP and AVIF and filled with white for JPEG.

Allow upscaling

Off by default, so a small image is never blown up by accident. Turn it on if you really need a bigger canvas, knowing the result will be softer than a genuinely high-resolution original.

Tips for sharper resized photos

  • Start from the original. Resizing a photo that WhatsApp or a social app has already shrunk throws away detail twice. Use the file straight from the camera or phone gallery when you can.
  • Shrink in one step. Going from 4000 pixels to 800 in a single pass looks cleaner than resizing to 2000, then 1200, then 800.
  • Crop with the final shape in mind. If the slot is square, crop to a square first. You decide what stays in the frame instead of letting Cover decide for you.
  • Check text and faces at 100% zoom. Thin lines, small print and eyelashes are the first things to blur. If they look mushy, choose a slightly larger size.
  • Keep a copy of the full-size file. A resized image can't be scaled back up to its original sharpness, so never overwrite your only copy.

Formats, quality and privacy

The resized image keeps its original format. JPEG, WEBP and AVIF are saved at quality 85, which keeps detail without bloating the file. PNG stays lossless. HEIC photos from iPhones come back as JPEG, and an animated GIF becomes a single still frame.

Everything runs in your browser, on your own device. Images up to 250 MB are accepted, 20 at a time, and nothing is uploaded, stored or watermarked. If you want an even smaller file after resizing, you can convert the image to WEBP, which is often 25–35% lighter than JPEG at the same quality.

更多工具

所有工具均免费、私密,几秒钟即可完成。

图片工具

48

常见问题

是的。可免费在线调整图片大小,无需账户、无水印、无需安装软件。适用上传限制(每张 250 MB)。
调整大小改变照片或图片的像素宽度和高度。减小文件大小(字节)是压缩。若调整大小后仍需要更少 KB,请使用压缩图片工具。
可以 — 启用允许放大,然后输入更大的宽度和高度值。放大会增加像素但无法创造真实相机细节。远超原尺寸放大时常见柔和效果。
宽高比是宽度与高度的关系(例如 16:9)。保持宽高比可避免拉伸。关闭后若强制两个尺寸可能使图片变形。
每张图片最大上传 250 MB。约 4000 万像素以上的图片可能在浏览器中失败。
调整大小在浏览器中运行。图片在本地处理,不会上传到 ImgTask 的服务器。
缩小通常效果良好。放大会显得柔和或模糊,因为工具生成了原图中不存在的像素。
可以。调整大小前启用裁剪,选择区域,然后设置目标尺寸。

Blog

博客指南与技巧

简短实用的文章,帮你更好地使用 ImgTask,处理图片和 PDF。

View all articles

Processing…