PNG压缩 [英] PNG Compression

查看:99
本文介绍了PNG压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一些PNG图片,尽管只有150px x 160px宽,但文件大小为60KB.我已经通过优化程序(适用于Mac的ImageOptim)运行了它们,但这并没有太大帮助.

Some PNG images although just 150px x 160px wide have 60KB filesize. I've already run them though optimizers (ImageOptim for Mac) but that didn't help much.

是否有任何方法可以手动或使用其他工具对其进行进一步压缩?正常的150x160图像需要60KB,这实在是不可接受的,因为需要透明,我不能在其中使用JPG或GIF.

Is there any way to compress it further, either manually or using some other tool? 60KB for a normal 150x160 image is really unacceptable and I can't use JPG or GIF there because I need transparency.

我尝试将PNG导出为 8位PNG ,文件大小已大大减少!

I tried exporting the PNGs as 8-bit PNG and the filesize has reduced significantly!

推荐答案

尝试导出与8位PNG相同的PNG,并且文件大小已大大减少.

Tried exporting the same PNGs as 8-bit PNG and the filesize has reduced significantly.

步骤:

  • 在Photoshop中打开PNG
  • 文件>保存用于Web和设备
  • 从预设"下拉列表中选择"PNG-8 128抖动"
  • 保存

将31kb的图像减少到10kb.

Reduced a 31kb image to 10kb.

这篇关于PNG压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆