1
0
Fork 1
mirror of https://github.com/maunium/stickerpicker synced 2024-12-21 06:30:43 +00:00
Commit graph

29 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
125d057e44 Remove animated sticker pack check 2024-06-19 13:55:00 +03:00
Tulir Asokan
6332613e13 Don't try to use non-existent variables 2024-06-17 22:48:15 +03:00
Tulir Asokan
dbc3a9fbb8 Don't prompt for giphy api key by default 2024-06-05 13:02:34 +03:00
Tulir Asokan
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
Tulir Asokan
f59406a47a Add missing parameter to getting sticker sets. Fixes #51 2022-11-15 12:58:38 +02:00
Tulir Asokan
591137ccb3 Merge remote-tracking branch 'celogeek/fixes-ios-and-more' 2021-10-03 11:50:27 +03:00
Tulir Asokan
f29c165357 Merge remote-tracking branch 'aWeinzierl/fix-encoding' 2021-10-03 11:49:53 +03:00
Tulir Asokan
57fde6fcad Assume https if homeserver URL doesn't have protocol 2021-04-22 19:12:54 +03:00
celogeek
9443e79e97
fix display of packs with sticker-import --list 2021-02-07 17:52:55 +01: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
569d9815c6 remove redundant utf-8 setting 2021-01-28 00:06:58 +01:00
Andreas Weinzierl
0f7b678f57 Use utf8-encoding whenever JSON is processed 2021-01-27 23:31:33 +01:00
Andreas Weinzierl
b884a9c387 Set encoding to utf-8 when saving json file for stickerpack
Fixes UnicodeEncodeError with Windows 10 when trying to import sticker packs caused by the default encoding scheme in Windows
2021-01-27 22:09:15 +01:00
SpiritCroc
601d2acc32 Rename import.py, since import is a keyword
from sticker.import import cmd
                 ^
SyntaxError: invalid syntax

Fixes https://github.com/maunium/stickerpicker/issues/27.
2021-01-19 17:12:06 +01:00
Tulir Asokan
d3adedf3df Add fancy versioning stuff 2020-10-30 23:32:35 +02: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
e073f6972c Make magic optional 2020-09-20 14:01:29 +03:00
Tulir Asokan
99719accf2 Add option to copy sticker-pack'ed pack to web/packs/ 2020-09-13 18:11:02 +03:00
Tulir Asokan
b0509920b4 Add support for ordering stickers in custom packs 2020-09-13 17:29:08 +03:00
Tulir Asokan
80bcf6d0ac Reorganize Python stuff and add command to create packs
Fixes #11
2020-09-13 03:56:28 +03:00