d68bb24333
Current algorithm used to calculate the bounds of the boxes in the source image to which the pixels in the target (rescaled) image are mapped to, has flaws which cause a non-uniform distribution of the boxes in the source image. And these miscalculations may result in the visible distortions of the colours in the rescaled image. New algorithm assures uniform distribution of the boxes in the source image and thanks to the integer arithmetic is faster than currently used and not prone to the problems with floating point representation. Closes #18012.
18 KiB
100x100px
18 KiB
100x100px