emopers opened a new pull request #53: Close OutputStream before toByteArray() on underlying ByteArrayOutputStream URL: https://github.com/apache/commons-imaging/pull/53 When an `OutputStream` instance wraps an underlying `ByteArrayOutputStream` instance, it is [recommended](https://stackoverflow.com/questions/2984538/how-to-use-bytearrayoutputstream-and-dataoutputstream-simultaneously-java) to flush or close the `OutputStream` before invoking the underlying instances' `toByteArray()`. This pull request adds a call to `close` at the end of the `write` method of `TiffImageWriterLossy`.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
