What’s the fastest way to edit a png with transparency?

I've looked into the fastest way to edit bmps and pngs, but the majority of methods use the Bitmap class which does not support transparency (and bmps don't support transparency to begin with lol). But for my purposes I need to be able to save a png with transparency, and I'd like to do it at runtime if possible so it needs to be pretty fast (if not I could just preload a bunch of generated sprites but that doesn't seem very elegant.)

I've also looked into byte-level hacking but the png spec is super complicated.

by quizzer106 via /r/csharp

Leave a Reply