folderify icon indicating copy to clipboard operation
folderify copied to clipboard

Option for smaller .icns filesize

Open lgarron opened this issue 10 years ago • 2 comments

e.g. leave out @2x Retina versions, except maybe 512x512.

Possibly run through a compressor (pngcrush? What does .icns use internally?)

lgarron avatar Nov 25 '14 07:11 lgarron

  • It appears that above 32px, the @2x version of a particular resolution is the same as the (regular) next resolution.
  • .icns embeds .png: https://en.wikipedia.org/wiki/Apple_Icon_Image_format#Icon_types

Using pngcrush on the input files didn't seem to reduce the output filesize, but removing redundant files did.

lgarron avatar Nov 27 '14 09:11 lgarron

While the 128x128@2x image is the same as the 256x256 image, leaving out the former results in pixelated upscaling.

screenshot 2014-11-27 18 45 33 screenshot 2014-11-27 18 45 27

lgarron avatar Nov 28 '14 02:11 lgarron

I've tested this again.

Removing the Retina version of a redundant resolution results in blurriness: Screenshot 2023-04-04 at 03 17 41

Removing the non-Retina version results in an error: Screenshot 2023-04-04 at 03 18 23

I'm going to leave in all the resolutions.

lgarron avatar Apr 04 '23 10:04 lgarron