Commit Graph

20 Commits

Author SHA1 Message Date
aa8616a40a perf: improved performance of webp_to_others 2024-09-16 20:08:05 +08:00
ca296b41c6 fix: is_uniform_animated_webp 2024-09-15 22:49:17 +08:00
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
a0ef9f84be perf: convert static animated WebP to PNG 2024-09-15 13:21:41 +08:00
a83bc15208 fix: keep webm transparency 2024-09-14 23:03:26 +08:00
47a98ba81b perf: optimize gif via gifsicle 2024-07-17 11:18:08 +08:00
e38090e952 fix: fix webm duration via ffmpeg 2024-07-17 11:18:08 +08:00
a6b8c09379 fix: support animated sticker convert(RGBA) 2024-07-17 11:18:08 +08:00
be477874e3 feat: support animated(lottie) sticker 2024-07-17 11:18:08 +08:00
715f62af58 feat: support animated(webm) sticker 2024-07-17 11:18:02 +08:00
6332613e13 Don't try to use non-existent variables 2024-06-17 22:48:15 +03:00
dbc3a9fbb8 Don't prompt for giphy api key by default 2024-06-05 13:02:34 +03:00
47f17fde45 Add support for sending gifs via Giphy
Fixes #22
Closes #75

Co-authored-by: Nischay <hegdenischay@gmail.com>
2024-05-18 16:18:55 +03:00
591137ccb3 Merge remote-tracking branch 'celogeek/fixes-ios-and-more' 2021-10-03 11:50:27 +03:00
f29c165357 Merge remote-tracking branch 'aWeinzierl/fix-encoding' 2021-10-03 11:49:53 +03:00
57fde6fcad Assume https if homeserver URL doesn't have protocol 2021-04-22 19:12:54 +03:00
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
0f7b678f57 Use utf8-encoding whenever JSON is processed 2021-01-27 23:31:33 +01:00
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
80bcf6d0ac Reorganize Python stuff and add command to create packs
Fixes #11
2020-09-13 03:56:28 +03:00