[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pngpp-devel] Png stream size
From: |
Robert Carroll |
Subject: |
[pngpp-devel] Png stream size |
Date: |
Wed, 5 Dec 2012 13:49:24 -0800 |
Hello,
I want to write a png file to a memory buffer using
png::image::write(std::ostream& stream) and
boost::iostreams::stream<boost::iostreams::array_sink> to make stream adapter
to the array. I'm wondering if there's a way to know how large of a buffer to
allocate in advance, or if there's a better way to write to an array rather
than straight to a file?
Thanks,
Rob
- [pngpp-devel] Png stream size,
Robert Carroll <=