3 ms·
You can probably shrink your icon down (losslessly) by dropping it into ImageOptim. https://imageoptim.com/mac https://imageoptim.com/mac
by LeoPanthera 9y ago
You can probably shrink your icon down (losslessly) by dropping it into ImageOptim. https://imageoptim.com/mac https://imageoptim.com/mac
- Prefinem 9y agoNot OP, but thanks for the link to that app. It's quite amazing.
- conradev 9y agoOr the command line util pngcrush
- LeoPanthera 9y agopngcrush is fairly old. And terribly unoptimized. If you want a command line solution, I recommend optipng (which does what pngcrush does, but better), and sending the result through advdef, which improves the compression even further. ...but really. ImageOptim is super awesome and zero-effort.
- derefr 9y agoSuper awesome yes, zero-effort no—just try to make it into part of an CI/CD asset build pipeline ;) But really, why isn't ImageOptim itself available in command-line form?
- dabockster 9y agoIIRC, ImageOptim is a front end for a bunch of CLI image compression tools. So, in theory, you could roll your own for a CI system if you figured out all the arguments that ImageOptim was passing to those tools.
- joombaga 9y agoThis looks promising: > Automates ImageOptim, ImageAlpha, and JPEGmini for Mac to make batch optimisation of images part of your automated build process. https://jamiemason.github.io/ImageOptim-CLI/ https://jamiemason.github.io/ImageOptim-CLI/
- tokenizerrr 9y ago> automated build process > Mac Why would anyone run a CI server on a Mac?
- hboon 9y agoYou need to if your product is a macOS or iOS/watchOS/tvOS app.
- joombaga 9y agoPerhaps it's just their preferred platform. If it weren't for the expense I'd probably prefer it over Windows at least. At any rate, the readme does link to this article[1] if macOS isn't your thang. [1] https://addyosmani.com/blog/image-optimization-tools/ https://addyosmani.com/blog/image-optimization-tools/
- newsbinator 9y agoI find Optimage has better lossless compression. I never regretted paying for the full version. https://getoptimage.com https://getoptimage.com
- dchest 9y agoYes, the size is after optimization (although I suspect iconutil recompresses it) :-) It's just that there are 10 images inside, from 1024x1024 to 16x16.