raphaelhanneken / iconizer

Create Xcode asset catalogs swift and painless. Generate images for macOS and iOS app icons, launch images and image sets.
http://raphaelhanneken.com/iconizer
MIT License
890 stars 69 forks source link

Fill launch image background appropriately when using Aspect Fit #22

Closed wallisch closed 5 years ago

wallisch commented 5 years ago

When using Aspect Fit, the parts of the resulting launch images not covered by the resized input image are always transparent, which is not ideal. This approach samples the top-left pixel of the input image (almost always contains the background color) and fills the resulting launch images' background with it's color. This way, consistent launch images are created.

raphaelhanneken commented 5 years ago

Amazing! Thanks again, @wallisch! 🎉👍