Skip to content

Commit 1efde6e

Browse files
authored
Add icons variants for required resolutions (#1017)
* Add icons variants for required resolutions * Optimize PNG's size Even without centralizing the resources, we can already save a few bytes. The total size was reduced by 75%. * Replace iTunes variants by a very compact transparent image This will never hit the AppStore anyway. * Replace images by lossless optimized variants The previous optimization pass was lossy. This PR replace images with an optimized lossless variant of the original. * Restore original iPhone icons I don't know why images that were supposedly losslessly optimized by ImageOptim were less vibrant than the original. I restored them by their original variants. Upscaled variants are less vibrant though, but I guess it's acceptable without access to the original vector source. * Fix color space ImageOptim seems to change the color space when it optimizes files losslessly. I've created new variants with Pixelmator Pro and exported as web-compressed from there instead.
1 parent d924b9a commit 1efde6e

File tree

42 files changed

+28
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+28
-0
lines changed
7.39 KB
9.66 KB
14.9 KB
308 Bytes

Examples/CaseStudies/SwiftUICaseStudies/Assets.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"size" : "40x40"
3232
},
3333
{
34+
"filename" : "[email protected]",
3435
"idiom" : "iphone",
3536
"scale" : "2x",
3637
"size" : "60x60"
@@ -77,16 +78,19 @@
7778
"size" : "76x76"
7879
},
7980
{
81+
"filename" : "[email protected]",
8082
"idiom" : "ipad",
8183
"scale" : "2x",
8284
"size" : "76x76"
8385
},
8486
{
87+
"filename" : "[email protected]",
8588
"idiom" : "ipad",
8689
"scale" : "2x",
8790
"size" : "83.5x83.5"
8891
},
8992
{
93+
"filename" : "transparent.png",
9094
"idiom" : "ios-marketing",
9195
"scale" : "1x",
9296
"size" : "1024x1024"
221 Bytes
7.39 KB
9.66 KB
14.9 KB
308 Bytes

0 commit comments

Comments
 (0)