$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [GIL] write gray32fc_view_t to PNG
From: Olivier Tournaire (olitour_at_[hidden])
Date: 2011-03-07 14:28:37
Hi,
2011/3/7 Alex Flint <alex.flint_at_[hidden]>
> 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_at_[hidden]
> http://listarchives.boost.org/mailman/listinfo.cgi/boost-users
>