Time Nick Message 01:01 [MatrxMT] gotta catch 'em all, errormon 01:08 user2_ i prefer to use the term 'debugging' 13:53 MinetestBot 02[git] 04jeppebundsgaard -> 03luanti-org/minetest_game: Translation into Danish (#3209) 13ac2bc0f https://github.com/luanti-org/minetest_game/commit/ac2bc0f52118230eb4dd50567c30a47e9bd3a31e (152025-09-16T13:52:00Z) 20:36 [MatrxMT] why is blank.png 30 bytes bigger than bubble_gone.png in the default pack 20:39 sfan5 poorly optimizedc 20:39 [MatrxMT] why would optipng optimize one but not the other 20:40 sfan5 someone didn't optimize one of them, I assume 21:03 jonadab Someone probably didn't think 30 bytes was worth saving. (Which may or may not be true, depending on how frequently it gets transmitted; I don't happen to know.) 21:05 jonadab It's actually kinda refreshing to see a question like that come up. In my work with the NetHack codebase, there are a lot of instances of people asking why something is done in a horrible fiddly unmaintainable way, and the answer is usually "it saved several bytes on the size of the game binary, which was a big deal in 1982." 21:07 jonadab In this case (a PNG image), there's probably no downside to optimizing it, if someone can be bothered. 21:07 jonadab (Especially a _blank_ PNG image. It's really hard to imagine a downside to optimizing that.) 21:08 jonadab At worst, you're wasting however much of your time you spend doing it. Which, assuming you already know how to do PNG optimization, is likely not much. (And if you don't know how, it's worth learning just for the personal enrichment, IMO.) 21:23 MTDiscord The true "optimization" is to use a lossless webp (if minetest/whatever else is able to do so). 21:29 sfan5 this file does not get transmitted at all 21:29 sfan5 with the exception of downloading luanti itself 21:31 jonadab sfan5: Ah, I expect that explains why someone didn't bother to optimize it. 22:07 luatic out of curiosity: it turns out that blank.png contains two chunks, PLTE and tRNS, which aren't really necessary. 22:07 luatic but this is the kind of extremely small constant overhead that is hardly worth optimizing. 22:07 luatic it's about as important as someone having forgotten a trailing period in a code comment :p