Image is shown with random colors around if image is smaller than display area
If an image is cropped in a way that is it smaller than the viewing area in dr mode (in 1:1 view) a border with almost random colors is visible around the image (see attached image).
- Open image
- heavily crop (so that the resulting image is smaller than the viewing area in 1:1 view)
- completely zoom out (if not already done)
- close crop/rotate plugin
- enjoy the nice colors
Most probably several affected versions. Tested in 1.0+877~g3e8446e.
#7 Updated by Michael Born over 7 years ago
I have the same issue with current git version.
crop the airplane and see for yourself.
#8 Updated by Ulrich Pegelow over 7 years ago
- % Done changed from 20 to 100
- Status changed from Triaged to Fixed
Should be fixed now in git master.
Reason for the bug was the fact that we did not allow up-scaling in demosaic. That was justified before integration of
our new interpolation code (bilinear, bicubic, ...) but now up-scaling is supported.
Fix was therefore easy. To be intensively checked: this has some potential to once again uncover hidden bugs in roi handling.