https://github.com/jayqizone/launchbar-image-compressor
JPG/JPEG, PNG, GIF Compressor
https://github.com/jayqizone/launchbar-image-compressor
gifsicle jpegoptim launchbar pngquant
Last synced: 11 months ago
JSON representation
JPG/JPEG, PNG, GIF Compressor
- Host: GitHub
- URL: https://github.com/jayqizone/launchbar-image-compressor
- Owner: jayqizone
- License: mit
- Created: 2018-04-24T08:46:36.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-28T13:32:05.000Z (almost 8 years ago)
- Last Synced: 2025-03-08T07:56:12.905Z (over 1 year ago)
- Topics: gifsicle, jpegoptim, launchbar, pngquant
- Language: Shell
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LaunchBar-Image-Compressor
封装几个图片压缩的 CLI 工具以便于 GUI 使用,原动作来自少数派 [@Minja](https://sspai.com/user/731139) - GitHub [@BlackwinMin](https://github.com/BlackwinMin):[ Compressor.lbaction ](https://github.com/BlackwinMin/sspai-sample-script/blob/master/LaunchBar/Compressor.lbaction.zip),用 Shell 改写
## 依赖
- [jpegoptim](http://www.kokkonen.net/tjko/projects.html)
- [pngquant](https://pngquant.org)
- [gifsicle](https://www.lcdf.org/gifsicle/)
用 [Homebrew](https://brew.sh) 安装即可:
`brew install jpegoptim pngquant gifsicle`
## 使用
用 Instent Send 发送图片文件到该动作即可,会在同目录下新建前缀为「new-」的图片,可以批量并发执行。优化参数可在 default.sh 中调节