1
0
Fork 1
mirror of https://github.com/maunium/stickerpicker synced 2024-12-23 06:40:43 +00:00
stickerpicker/sticker/lib
xz-dev 86cb2edcfa
fix: Improve edge transparency handling by modifying only the Alpha channel
In our testing, the method of exclusively processing the Alpha channel yielded the best results. This approach focuses on adjusting transparency while preserving the RGB color information, which prevents color distortion and maintains image detail. Key reasons for the improvement include:

- Protecting RGB from color alterations, avoiding color seepage and contamination.
- Precisely removing unwanted semi-transparency in the Alpha channel, eliminating white edges.
- Simplifying the process, reducing complexity, and minimizing risk of introducing new issues.

By targeting transparency issues directly in the Alpha channel, we achieve cleaner edges without compromising the image's color quality and detail.
2024-09-15 16:26:58 +08:00
..
__init__.py Reorganize Python stuff and add command to create packs 2020-09-13 03:56:28 +03:00
matrix.py Don't try to use non-existent variables 2024-06-17 22:48:15 +03:00
util.py fix: Improve edge transparency handling by modifying only the Alpha channel 2024-09-15 16:26:58 +08:00