Run Tonga tests WriterCompressionTypeTest or ImageWriteParamTest Sometimes you may see that images are upside-down. The sample picture is in the attachment.