Re: bitmap -> png stream

"Gerard Juyn" <gjuyn-qWit8jRvyhVmR6Xm/[email protected]> Wed, 3 Sep 2003 12:23:05 +0100
Newsgroups gmane.comp.graphics.mng.general
Message-ID <3F55DD29.6635.B30597@localhost>
> The question is how to transform bitmap to PNG stream through libmng
> functions.

There isn't (yet). The best way would be to convert your bitmap(s) to PNG(s), 
then read the PNG with a second libmng handle (be sure to have 
store_chunks set to TRUE), and use the copy_chunks() function to copy the 
PNG chunks from the PNG to the MNG you're writing.

Gerard


--
Send the message body "help" to [email protected]