[Wmlbrowser] wbmp images and wmlbrowser
Matthew Wilson
matthew at mjwilson.demon.co.uk
Fri Nov 10 00:06:45 PST 2006
Stegozor wrote:
> Hi Matthew, hi everyone,
>
> I live a boring life. No girlfriend, no money, an empty
> refrigerator and worse, nothing on TV: so I've searched a little bit to
> know more about wmlbrowser and wbmp images. It seems that because it
> uses XPCOM and C++, the current code is nearly impossible to use. It has
> to be compiled with the same compiler and on the same platform than
> those that were used to compile SeaMonkey and Firefox. Worse, different
> binaries would be needed for Windows, Mac and GNU/Linux, etc.
>
> Therefore, JavaScript seems another interesting way to consider to me.
> Although it's not at all the same thing than wbmp, there is an example
> that tends to show that JavaScript can handle such a task with
> acceptable performance: X-Face images on USENET and mail messages.
> X-Faces are monochrome (no colours, no grey scales) bitmap images of
> 48*48 pixels. As an example, I've added one to this mail. The Mnenhy
> extension displays them, so you might want to install it to see how it
> works (choose extended normal view using the little widget on the
> headers pane; extension's homepage is http://mnenhy.mozdev.org). You'll
> notice (if you really focus :) a very little delay compared to a
> "normal" message.
>
> More information about X-Face images and the source code that decodes
> them is available here:
> http://www.mozdev.org/source/browse/~checkout~/mnenhy/src/bin/chrome/mnenhy/content/mnenhy/headers/mnenhy-headers-xface.js?rev=1.3&content-type=text/plain
> (It's taken from Mozilla Bug 20417
> https://bugzilla.mozilla.org/show_bug.cgi?id=20417)
>
> I just hope that this will provide some clue for wbmp images using
> JavaScript. Is this idea worth considering it?
The thought of decoding images in Javascript horrifies me, but I suppose
it might be feasible. Any volunteers for this?
The C code is checked into CVS, although I haven't checked whether it's
up-to-date with Mozilla for a long time.
Matthew
More information about the Wmlbrowser
mailing list