-
Notifications
You must be signed in to change notification settings - Fork 940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shrink/ losslessly compress ICO
resource files to reduce size of apps published with SingleFile/AOT
#11370
Comments
I was able to shrink |
alignment.ico can be 2.5 kB. ImageMagick will still store them as BMP for some reason (with a smaller bit depth, but still uncompressed BMP). Try this instead:
|
If we don't lose individual icon sizes and the rendered bitmap is identical, then I'm fine with this. |
The process we used unpacks the icon into individual image files for each size contained. Then converts the images to png to compress them and repacks them into the ico. As far as I could tell they are identical on the files I checked. |
In #9911 it was discovered that the embedded
ICO
resource files have a non-trivial size and could be losslessly compressed upwards of 90% of original file size.We should use GIMP or similar tool to shrink each of the
ICO
files and maybe investigate the use of PNG to reduce file sizes.The text was updated successfully, but these errors were encountered: