|
Boost Users : |
Subject: [Boost-users] [GIL] write gray32fc_view_t to PNG
From: Alex Flint (alex.flint_at_[hidden])
Date: 2011-03-07 12:58:22
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net