matthewwithanm / pilkit

Utilities and processors built for, and on top of PIL
BSD 3-Clause "New" or "Revised" License
196 stars 54 forks source link

Is there a way to use pilkit from the linux command line to take 3 optimized png files and create a compressed .ico file? #57

Closed Jieiku closed 1 year ago

Jieiku commented 2 years ago

Is there a way to use pilkit from the linux command line to take 3 optimized png files and create a compressed .ico file?

I used imagemagik like this but it took the 3 ~130 byte png files and turned them into a 14kb ico file:

convert favicon-16x16.png favicon-32x32.png favicon-48x48.png favicon.ico

vstoykov commented 1 year ago

pilkit does not have command line interface. This is out of scope for this project. The main idea behind this project was to expose some handy utilities that where part of django-imagekit for people to use them. If there is someone willing to create new project which is wrapping pilkit and is providing CLI probably will be useful, but as I already mentioned it is outside of the scope of the project.