Benjamin Smedberg wrote:
Martin Gentry wrote:
the contents of the images in C++ code myself programatically.
Is <html:canvas> insufficient for your needs? If so, in what ways?
For what it's worth, canvas is rather a pain to use from C++ in some cases. For
example:
1) There is no way to call drawImage() sanely.
2) There is no way to call getImageData() sanely.
3) There is no way to call putImageData() sanely.
4) Ensuring that the security checks don't bite you is a pain.
5) There is no way to call toDataURL() sanely.
This is based on a 5-minute skim of the code.
-Boris
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom