-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b53
-
generic
-
generic
-
Verified
I am creating a GIF Writer and writing a buffered image to a file. When writing is 50% done, I am aborting the write process by calling writer.abort(). After that I am trying to reuse the same writer to write another buffered image. I noticed that the writing process gets aborted as soon as it starts. Looks like the abort flag is not cleared at the begining of each write operation. Writer.abort() method indeed specifies that writer must clear the abort flag before starting the writing process.
This works fine for JPG, PNG, BMP. This is reproducible with Mustang-b39 on all platforms.
I have attached a sample test and a sample image. Run it as follows:
java WriterReuseTest GIF <image attached>
If you see the second write process being aborted as soon as it starts, the bug is reproduced.
###@###.### 2005-06-09 11:54:09 GMT
This works fine for JPG, PNG, BMP. This is reproducible with Mustang-b39 on all platforms.
I have attached a sample test and a sample image. Run it as follows:
java WriterReuseTest GIF <image attached>
If you see the second write process being aborted as soon as it starts, the bug is reproduced.
###@###.### 2005-06-09 11:54:09 GMT