Attachments resaved in different format

I just now was uploading a PNG with alpha channel, but once the upload process completed it was changed to JPEG. That is obviously Not Good, as now my upload is completely destroyed.

Can we get the old behavior back?

Crisis averted. I have found a setting, fiddled with it and now we should have nice PNGs again:

transptest_discourse