Hi there,

I'm trying to write a grayscale image of 32-bit floats to a file. I understand that I need to construct some kind of color converted view but I can't find much documentation on this. So far I have

gray32fc_view_t view = ....;
png_write_view(file, view);

Which gives me a static assertion failure (I suppose png_write_view can't handle 32-bit float views directly).

Cheers,
Alex