951251 wrote:Nope, but the bug is not closed - just ignored for all eternity. Nobody but you seems to care about it.
Is there a way to re-open a bug (without submitting a new one) ?
Or we can truncate the RandomAccessFile before closing the FileImageOutputStream (which seems a bit more efficient).
RandomAccessFile raf = new RandomAccessFile(this.dst, "rw"); raf.setLength(0); FileImageOutputStream imgOutStrm = new FileImageOutputStream(raf);
A bit complicated for someone who just want to write an image to a file.