janpio commented on issue #531: Compress assets in Images.xcasset (tinypng.com) URL: https://github.com/apache/cordova-ios/pull/531#issuecomment-464011382 From https://tinypng.com/ > What does TinyPNG do? > > TinyPNG uses smart lossy compression techniques to reduce the file size of your PNG files. By selectively decreasing the number of colors in the image, fewer bytes are required to store the data. The effect is nearly invisible but it makes a very large difference in file size! > > When you upload a PNG (Portable Network Graphics) file, similar colors in your image are combined. This technique is called “quantization”. By reducing the number of colors, 24-bit PNG files can be converted to much smaller 8-bit indexed color images. All unnecessary metadata is stripped too. The result better PNG files with 100% support for transparency. Have your cake and eat it too! --- Usually I would not go for "smart lossless" compression, but as those assets are not actually meant to be shipped to end customers - those are Cordova branded assets after all - I think this is fine. And I couldn't see any difference to be honest 🖼
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
