Re: Image corrupted sometimes

Posted by markthien on
URL: http://imagej.273.s1.nabble.com/Image-corrupted-sometimes-tp3699628p3699631.html

I have tried that when resizing the image in a single program, I don't get any problem. But when I resizing in jboss4, then the image corrupted. Any clue?

Johannes Schindelin wrote
Hi,

On Mon, 16 Apr 2007, Plant More Tree wrote:

> I'm running my application in JBoss 4.0.4. User upload image like
> 800x600 then my program will compress it to a smaller image and smaller
> size too. Some image will get corrupted after compression sometimes if
> you see the image at the link below. I really have no idea why it will
> get corrupted.

Is this consistent? I.e. do the images all get corrupted in the same
manner? If so, I suspect some multi-threading issue. If not, I'd like to
have the original image, and would play with the code to find out what is
happening.

Ciao,
Dscho