I need to save video frames individually and compress them losslessly. I’m looking for the best method and format in c# – by best I mean the best balance of simplicity of implementation, good compression and reasonable processing requirements.
I know PNG is lossless, but its compression isn’t great for photo style images.
I understand that there is a lossless Jpeg format, but is this implemented in C#?
Are there other options I am unaware of?
Here are some compression ratio’s for different kinds of lossless encoding (source, higher is better):
As you can see, lossless JPEG does not compress significantly better than PNG, and as PNG is supported much better I would recommend you to just use PNG.