I want to integrate my image decoder for *.xyz to my gecko-based application
so that when the application load a web page with <img src="a.xyz">, the
image could be correctly shown in layout.
What should I do? I am reading the code about how gif is decoded in Mozilla
code. But it is hard to understand the logic there.
So far I build an xp component. My application loads the component
successfully when the application starts up. I register the content-type
"image/xyz" as by
rv = catman->AddCategoryEntry("Gecko-Content-Viewers",
"image/xyz",
XYZ_ContractID,
PR_TRUE,
PR_TRUE,
&previous);
What should my next move be?
How to let gecko call my decoder?
How to return the decoded raw image back to layout engine to show?
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding