best way to serialize a GIL image

I have a class which contains a boost::gil::rgba8_image_t instance that I'd like to serialize via boost.serialization. I'm just wondering what the optimal way to do this would be. I have a couple naive ideas, but they involve additional copies of pixel data that aren't conceptually necessary.

Hi there, how about saving it as an png image? GIL comes with such an extension. Christian On Wed, Mar 25, 2009 at 5:22 PM, Kenny Riddile <kfriddile@yahoo.com> wrote:
I have a class which contains a boost::gil::rgba8_image_t instance that I'd like to serialize via boost.serialization. I'm just wondering what the optimal way to do this would be. I have a couple naive ideas, but they involve additional copies of pixel data that aren't conceptually necessary.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Christian Henning
-
Kenny Riddile