[GIL] write gray32fc_view_t to PNG

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

Hi,
2011/3/7 Alex Flint
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).
TIFF can. I think I already made the changes in new io to handle that. Regards, Olivier
Cheers, Alex
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Alex Flint
-
Olivier Tournaire