jpeg support

Adam Megacz <[email protected]> 10 Apr 2003 00:44:27 -0700
Newsgroups gmane.comp.java.xwt.announce
Organization XWT
Message-ID <[email protected]>
XWT now has built-in JPEG support.  I'm using the IJG library.  While
it's written in C, it's used by almost every program under the sun
(Mozilla, IE, Safari), so if it contains a buffer overrun, pretty much
everybody was already vulnerable to begin with.

I'd still really like it (hint, hint) if somebody would translate it
into Java... ;) Should be fairly easy (but mindless) work, and you
only have to translate enough of the library to handle a single case
(decode a jpeg into 32-bit ARGB, no rescaling, no quantization, no
fancy post-processing).  You'd get big huge props from the GNU
CLASSPATH people too; they're just getting to the point with AWT
support where they really need something like this.

Obligatory demo link:

   http://launch.xwt.org/0706/www.megacz.com/tmp/jpegtest.xwar

(When I was up at Tahoe, CNN kept playing this inane ad for some
 company that would help you become a llama farmer.  In honor of that
 annoyance, I google'd for llamas and got this....  Yet another reason
 we should've paid the extra cash for BBC...)

  - a

_______________________________________________
http://lists.xwt.org/listinfo/announce