I'm creating sprites and tilemaps for 2D games. I might just use Unity.
What is the impact of choosing different options when saving as a .png?
I'm creating sprites and tilemaps for 2D games. I might just use Unity.
What is the impact of choosing different options when saving as a .png?
The compression rate of your graphical resources directly affects loading times and size of your game. "No compression" will result in a bigger PNG file, but the file will be opened extremely fast. "Smallest compression" will result in a smaller sized file, but will take considerably longer to decompress and open. Being a lossless format, PNG quality won't be degraded even if compressed (as opposed to, say, JPEG). EDIT: as @Le Comte du Merde-fou has pointed out, the loading times will vary depending on the platform. For example, on some platforms disk I/O will be a bigger bottleneck than decompression process, therefore a smaller file will be processed faster than a larger one. Find out the capabilities of your target platform prior to making the decision.
"Interlaced" option is tricky, though. Depending on your render methods it may or may not have a real impact on your game, so I'd check how your graphical engine handles interlaced/non-interlaced PNG files. There are examples of using either of them out there: for example, you may have noticed how sometimes in some games textures are blurry/low-res, and then gradually improve their quality while loading the full file - that is "interlaced" file in action. Some games simply won't let you see the game world while the textures are still loading: they're likely to use non-interlaced resources, which undergo a different loading process.
The image below may provide a better idea of the differences between the interlaced / non-interlaced PNG files.