Hi,

This was originally posted to n.p.m.embedding.

I'm embedding Gecko and making my app's GUI entirely in XUL. I'm now stumbled upon this problem: is there a way to display JPEG (bitmap, etc) images that only exist in memory and are not represented by files on a file system?

Two first ideas from the top of my head are: 1. to dynamically add images to window chrome somehow and access them using "chrome://" URL (is it at all possible?); 2. implement my own "memory" protocol handler and access images using "memory://" URL (an overkill?).

Is there "the proper" method for accomplishing this?

Thanks,
-- Vitaly

PS: The <image src="data:..."/> will hardly work for me as my images could be quite big.
_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to