"as a workaround you could probably decode JNG with javascript"
For context: https://en.wikipedia.org/wiki/JPEG_Network_Graphics
Basically JPEG for color with PNG for alpha. Legitimately good idea, but not supported in browsers because it's a subset of MNG and there's a religious war against MNG pretty much. But yeah, not the kind of thing you want to do in javascript, you'd be implementing the decompression algorithm yourself for starters...