Re: libmng data-push mechanism(s)

"Gerard Juyn" <gjuyn-qWit8jRvyhVmR6Xm/[email protected]> Sat, 10 Apr 2004 12:01:33 +0200
Newsgroups gmane.comp.graphics.mng.general
Organization Triple-T
Message-ID <4077E21D.6774.604FE0A9@localhost>
Alex,

My remark about leaving suspension mode off is invalid. It is intended to allow 
for the reader to run behind of the displayer; eg. where the data is streaming 
in, and may not always be available when the displayer needs it. Which is of 
course the case for Mozilla, other browsers and anything else that's reading 
the inputstream from a network rather than from the harddrive.


Ralph,

I've added another function for you:

mng_retcode libmng_read_pushsig (mng_handle hHandle,
					mng_imgtype eSigtype);

This will take care of the signature. Eg. with this you're telling libmng not to 
read&check the signature and what type of stream it is to expect.
eSigtype == mng_it_mng most likely in your case.

You'll obviously do that after creating the mng_handle and before calling 
mng_read() or mng_readdisplay().


Gerard


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