<div dir="auto">I recommend the PNM format, in particular the floating point variant. That's what qapitrace uses. At any rate, any thing but PNG.<div dir="auto"><br></div><div dir="auto">The good thing about PNM is that, even though it's an uncompressed format, if you gzip it, or. foo.pfm.gz, then many image via will transparently decompress and view.</div><div dir="auto"><br></div><div dir="auto">Jose</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 25 May 2018, 20:18 Mark Janes, <<a href="mailto:mark.a.janes@intel.com">mark.a.janes@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello José,<br>
<br>
I'm adding support for visualizing depth/stencil buffers to<br>
frameretrace, and found that the png support in apitrace converts<br>
grayscale images to 8 bits per pixel.<br>
<br>
For the applications I'm looking at, the depth buffer values are mostly<br>
near 1.0f, and the resulting image has visible banding due to the low<br>
precision.<br>
<br>
I'd like to support 32bit grayscale images, but I am not very familiar<br>
with libpng. I'll hack at image_png.cpp, but please let me know if<br>
there is something else I should be considering.<br>
<br>
-Mark<br>
_______________________________________________<br>
apitrace mailing list<br>
<a href="mailto:apitrace@lists.freedesktop.org" target="_blank" rel="noreferrer">apitrace@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/apitrace" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/apitrace</a><br>
</blockquote></div>