1
0
Fork 1
mirror of https://github.com/maunium/stickerpicker synced 2024-11-13 03:44:11 +00:00
Commit graph

14 commits

Author SHA1 Message Date
xz-dev
ca296b41c6
fix: is_uniform_animated_webp 2024-09-15 22:49:17 +08:00
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
xz-dev
a0ef9f84be
perf: convert static animated WebP to PNG 2024-09-15 13:21:41 +08:00
xz-dev
a83bc15208
fix: keep webm transparency 2024-09-14 23:03:26 +08:00
xz-dev
47a98ba81b
perf: optimize gif via gifsicle 2024-07-17 11:18:08 +08:00
xz-dev
e38090e952
fix: fix webm duration via ffmpeg 2024-07-17 11:18:08 +08:00
xz-dev
a6b8c09379
fix: support animated sticker convert(RGBA) 2024-07-17 11:18:08 +08:00
xz-dev
be477874e3
feat: support animated(lottie) sticker 2024-07-17 11:18:08 +08:00
xz-dev
715f62af58
feat: support animated(webm) sticker 2024-07-17 11:18:02 +08:00
Tulir Asokan
591137ccb3 Merge remote-tracking branch 'celogeek/fixes-ios-and-more' 2021-10-03 11:50:27 +03:00
celogeek
85813b22e5
add missing msgtype = m.sticker
On iOS the message is sent twice, with a duplicate event_id.
It cause error on logs, in different places (synapse, mautrix, ...)

It required to fix the already existing json or reimport the stickers.

The "packs/scalar*" example already include this field, and it works.
2021-02-07 17:50:50 +01:00
Andreas Weinzierl
0f7b678f57 Use utf8-encoding whenever JSON is processed 2021-01-27 23:31:33 +01:00
Tulir Asokan
78fdb6f175 Switch license to AGPLv3+
The license was initially MPLv2 as I expected the project to be a fairly
simple tiny web app, but it has already grown into multiple files. Now
that I'm going to add a server component, I'm switching the license for
future versions to AGPL like all my other non-library projects.
2020-10-30 23:18:55 +02:00
Tulir Asokan
80bcf6d0ac Reorganize Python stuff and add command to create packs
Fixes #11
2020-09-13 03:56:28 +03:00