In c114399 (Add image suppression option to the menu), the current implementation is too permissive and does not behave strictly enough.
The threshold is set too high, so too much image-like input is passing through undetected.
The neighborhood sizes are too small, which means larger or more consistent patterns are not being properly detected.
Overall, the system is not strict enough and can still be bypassed with monochromatic or lightly structured image pastes.
Proposed changes:
- Lower the detection threshold so suppression triggers more reliably.
- Increase neighborhood sizes significantly, (change from 3x3 to around 12x12)
- When characters are detected as part of suppression, they should be rendered in the client as a full block character such as █ (U+2588) instead of preserving the original glyphs. This is necessary to properly prevent monochromatic image pastes from bypassing the suppression system
In c114399 (Add image suppression option to the menu), the current implementation is too permissive and does not behave strictly enough.
The threshold is set too high, so too much image-like input is passing through undetected.
The neighborhood sizes are too small, which means larger or more consistent patterns are not being properly detected.
Overall, the system is not strict enough and can still be bypassed with monochromatic or lightly structured image pastes.
Proposed changes: