[GIL] read/write PNG/JPEG to/from istream/ostream

Hello Boosters, Find a modified version of the IO extension of Boost.GIL uploaded to the vault where I added functionality to read from std::istream& and write to std::ostream& for both PNG and JPEG files. Get it from http://tinyurl.com/gil-iostream Cheers, Daniel

Daniel Pfeifer wrote:
Hello Boosters,
Find a modified version of the IO extension of Boost.GIL uploaded to the vault where I added functionality to read from std::istream& and write to std::ostream& for both PNG and JPEG files.
Wouldn't one rather stream from / to std::streambuf, as opposed to std::[i,o]stream ? streams are for formatting, while std::streambuf provides an abstraction for the source / sink that a stream is attached to. Thanks, Stefan -- ...ich hab' noch einen Koffer in Berlin...

Daniel Pfeifer wrote:
Hello Boosters,
Find a modified version of the IO extension of Boost.GIL uploaded to the vault where I added functionality to read from std::istream& and write to std::ostream& for both PNG and JPEG files.
Get it from http://tinyurl.com/gil-iostream
Cheers, Daniel
You should contact Christian Henning, He is reworking the GIL I/O stuff as a new extension. http://code.google.com/p/gil-contributions/ I don't know his current status though. --John
participants (3)
-
Daniel Pfeifer
-
John C. Femiani
-
Stefan Seefeld