daedalOS icon indicating copy to clipboard operation
daedalOS copied to clipboard

Created a bash script for generating icons

Open markus-li opened this issue 2 years ago • 4 comments

This bash script can be used to generate icons in all the required resolutions. It has been tested on Debian and has a comment on what the dependencies there are. It's just a simple utility script, but since the existing one is meant for Windows only I thought this could be useful.

markus-li avatar Jul 16 '22 04:07 markus-li

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Jul 16 '22 04:07 sonarqubecloud[bot]

@DustinBrett btw, if you want to chat about any of these pull-requests outside of comments, look me up on http://community.oh-lalabs.com user markus and we could chat on eg. Signal. I'd be happy to provide any additional feedback you may want.

markus-li avatar Jul 16 '22 05:07 markus-li

This is quite interesting. Thanks for this. I will do some testing and think on the tools being used and if the way I am doing it with my batch file is even ideal. I know my batch file is not ideal as it's quite WET and I would like to get into finer detail with the flags as I am trying for a loseless image. A step not shown in my batch file is that I run this through https://nikkhokkho.sourceforge.io/static.php?page=FileOptimizer on Windows which I have found does a great job of squeezing a little more out of these images.

DustinBrett avatar Jul 17 '22 04:07 DustinBrett

FileOptimizer is using a bunch of external dependencies, which for webp and png optimization probably exist as stand-alone utils/libraries both for Windows and Linux. Once you've decided on a set of tools and parameters, I'd be happy to adjust this script so that the results are the same on Linux.

markus-li avatar Jul 17 '22 07:07 markus-li

Thanks for this script but I think just the one is ok for now as I don't expect people to run it or have the tools, its more like a doc to show what I did to make the images on my site, but its not required for anyone and users can make images however they want and follow the format based on the script and existing icons.

DustinBrett avatar Sep 01 '22 04:09 DustinBrett