Symmetry Drawing: Decimal input bugs the symmetry.
Environment/Versions
- GIMP version: 2.10.24 and 2.99.6
- Package: Installer from GIMP.org
- Operating System: Windows 10
Description of the bug
The symmetry tool allows for input of decimals in its mirror point which the algorithm then uses to mirror what you draw. This leads to some strange behavior that seemingly offsets the mirroring which is very noticeable when working on pixel level.
This behavior occurs on both vertical and horizontal axis. Whenever the decimals are set above 0 it seems to average it up to move the whole pixel one step to the right.
Reproduction
Yes, Reproducible at all times. I can imagine the effect being less on images that uses fewer pixels though depending on how the calculations are done in GIMP for the mirror part.
Reproduction steps:
- Activate Symmetry Drawing
- Use any sort of Symmetry (horizontal/vertical et.c.)
- Set the vertical or horizontal axes to use any decimal above 0 (XX.50 should show effect)
- Try to paint one single pixel just on the left side of the guideline
…
Expected result: A perfectly symmetric mirroring of the things I draw on the left side of the guideline.
Actual result: The mirroring produces a slight offset. leaving a vertical "line" of white in the middle.
Additional information
With mirroring on all axis active the result turns out as:
A very easy way to fix this issue would be to not allow decimals in the mirror input. Since the guideline dont represent the decimals, and mirroring pixels at decimal points overall makes little sense.
If anything like this was actually found useful by someone, I would still suggest simply adding an Offset slider to the tool.