Got a project that we need to be able to output “photos” taken in game. As in, the user arranges the virtual camera and take the snapshot - and then this snapshot needs to be available outside the application for other uses.
I’ve been looking at CaptureScreenshot which looks like it could do the trick, but it only outputs to .png (as far as I can tell). Is there a way to force this to .tif instead?
Perhaps some workaround by getting in the way of a Render to Texture someway? Dunno, just thinking out loud here…
after that you must write an own serializer if you want tif …
and you need to be aware that it will halt the program quite some time writting the pretty massive databombs tiffs are.
where png halts a moment, tif will do so for much longer
Yah I found that the amount of bytes being written to disk is much more the determining factor of the time it takes than the time taken to compress the data. PNG saves faster than JPEG, and both are faster than RAW bytes… I’d say the RAW is about 2-3 times slower overall than PNG. So TIFF would be similar unless you to compression.