图片无损压缩工具

一、Mac shell命令

单张/批量修改图片尺寸

1
2
sips -Z 640 *.jpg //批量 604*640
sips -z 768 1024 example.png//单张 760*1024

More From:http://www.ainotenshi.org/818/resizing-images-using-the-command-line

图片格式转换

单张图片

1
2
$ sips -s format [image type] [file name] --out [output file]
$ sips -s format png test.jpg --out test.png

批量转换,转换到当前目录中的一个新的Converted子文件夹

1
2
$ for i in [filename]; do sips -s format [image type] $i --out [destination]/$i.[extension];done
$ for i in *.jpeg; do sips -s format png $i --out Converted/$i.png;done

Mac应用

https://imageoptim.com/mac

https://medium.com/@yeong.crypto/optimizing-converting-images-8d10ae559586

https://www.cnblogs.com/lhb25/p/12-best-image-compression-tools.html

图片压缩不求人7款超实用的压缩神器推荐

也谈图片压缩

在Mac上使用Google图片压缩工具Guetzli

2、在线压缩

TinyPNG https://tinypng.com/ 【荐】

https://goimg.io/

图好快 http://www.tuhaokuai.com/

https://www.picdiet.com/

https://compressionbear.com/

http://bigjpg.com/

http://isparta.github.io/index.html

GIF压缩

soogif http://www.soogif.com/compress

http://www.piggif.com/

https://ezgif.com/optimize

http://gifcompressor.com/zh/

https://shortpixel.com/online-image-compression

http://nullice.com/limitPNG/

https://github.com/leecade/imagine

https://imageoptim.com/

http://imgonline.com.ua/eng/compress-image.php

Image Compression tools via command line

jpegoptim – the compression tool extraordinaire

http://www.creativebloq.com/design/image-compression-tools-1132865

Efficient Image Resizing With ImageMagick

图像压缩JPEG工具对比

图片无损压缩工具都有哪些?【知乎】

8 款免费的图片压缩服务 & 工具推荐

开源工具

https://github.com/saitjr/STTinyPNG-Python

https://juejin.im/entry/587f14378d6d810058a18e1f

文章作者: kyren
文章链接: http://huluo666.github.io/2016/12/28/Mac图片压缩_shell/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Kyren's Blog