Pregunta

I have a hight fps stream of RenderTargetBitmap's I want to save them to disk to process them later, I do not want to encode them to Png, bmp or what ever, I want to save the raw byte buffer.

Is that possible?

Thanks

¿Fue útil?

Solución

You could use the CopyPixels method to get the raw pixels. Then just write it out like any other data. More information on getting the pixels can be found here.

But really, you could save it out as a Tiff with no compression and get the same results.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top