if (params.getRotationDegree() > 0) {
image = ImageProcessingUtils.rotate(image, params.getRotationDegree());
}
decompressor.Native_destroy();
channels.Native_destroy();
if (codestream.Exists()) {
codestream.Destroy();
}
inputSource.Native_destroy();