图像尺寸调整
Resize an image to the width and height you want and save it as PNG. With aspect-ratio lock enabled, changing one dimension automatically updates the other.
使用方法
- Choose an image and its original dimensions are filled in automatically.
- 保持宽高比 enabled and change either width or height.
- Press the button to save the PNG.
工作方式
浏览器解码原图,在指定尺寸的 Canvas 上重新绘制,并将结果导出为 PNG。启用保持宽高比后,修改一边时会根据原始宽高比重新计算另一边。
什么时候应该改用像素画放大工具
普通插画、UI 图像、缩略图和缩小操作适合使用此工具。按整数倍放大像素画时,应改用像素画放大工具,因为它会关闭平滑并把每个源像素保持为清晰的色块。
制作提示
尽量保留原始文件,并始终从原图生成所需尺寸。反复对已经缩放过的图像再次缩放会累积模糊或伪影,游戏引擎导入时还可能再次进行纹理缩放或压缩。
Limitations
Disabling aspect-ratio lock can stretch the image horizontally or vertically. Upscaling large images increases browser memory usage.
FAQ
Can I make the image larger than the original?
Yes, but regular images may blur when enlarged. Use the pixel-art upscaler for pixel art.
Can I edit only one dimension?
With aspect ratio enabled, editing either width or height immediately recalculates the other value.