Patient Guy wrote:
2. Upon receiving a click event that all data is entered, the script renders a bitmap which is then formatted to the GIF specification.
This is not the right newsgroup for this question, you probably want npm.dom, though npm.jseng could help with the JS question.
I think that you ought to construct your GIF data as a data:image/gif;DATA URI, and skip the whole OBJECT thing.
The problem is step (2). I have not toyed with core Javascript sufficiently to know if binary data sequences can be manipulated. They certainly cannot be manipulated using Strings. It is possible that they
Why not? it seems to me that strings are a decent way to manipulate binary data as long as you understand that the JS engine is treating it as UCS2 data.
(I have heard of and am aware of the use of SVG to do this, but I can take less time to set up script to prepare an object whose data is a GIF- formatted file than I can find the time to wade through 700-page SVG specification and then code that to do what I want.)
Or you could use the <canvas> element to draw directly what you want. --BDS _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
