Eric:

Latest patch does seem to solve the current header problem quite nicely.

Thanks!

jw

-----Original Message-----
From: Eric Dalquist [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 12:48 PM
To: [EMAIL PROTECTED]
Subject: Re: [PATCH] JPG Compression


Jim,

I found the bug. I imagine this isn't the last time something like this will
come up. JPEGs use a fairly simple header setup to store pertinent
information in the image. The JPEG standard says the image width, height and
color depth should be stored in the FFC0 header the jpeg you have stored the
info in a FFC2 header which I had not heard of. It seems there are many
flavors of jpeg so little fixes like this may be happening for a while.
Attached is a new JpegImage.java which will fix the problem. If you're
interested the change was made on line 81.

-Eric Dalquist

----- Original Message -----
From: "Jim Wright" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 16, 2001 11:01 PM
Subject: RE: [PATCH] JPG Compression


> Hey Eric:
>
> Been working with the patched stuff on and off all day -- still looks
great!
>
> Attached is a rather junky macintosh-based jpg that demonstrates the
header
> problem. Let me know if you get a fix. Either way, thanks again for the
> patch!
>
> jw
>
> -----Original Message-----
> From: Eric Dalquist [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, September 15, 2001 4:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PATCH] JPG Compression
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to