Trying to fix a problem with contour transformation to bitmap in SonyPhotoWorker.processContourImage.