sticker-convert 2.11.6__py3-none-any.whl → 2.11.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sticker_convert/converter.py +3 -0
- sticker_convert/job.py +4 -0
- sticker_convert/utils/chrome_remotedebug.py +2 -2
- sticker_convert/version.py +1 -1
- {sticker_convert-2.11.6.dist-info → sticker_convert-2.11.8.dist-info}/METADATA +6 -6
- {sticker_convert-2.11.6.dist-info → sticker_convert-2.11.8.dist-info}/RECORD +10 -10
- {sticker_convert-2.11.6.dist-info → sticker_convert-2.11.8.dist-info}/WHEEL +1 -1
- {sticker_convert-2.11.6.dist-info → sticker_convert-2.11.8.dist-info}/entry_points.txt +0 -0
- {sticker_convert-2.11.6.dist-info → sticker_convert-2.11.8.dist-info/licenses}/LICENSE +0 -0
- {sticker_convert-2.11.6.dist-info → sticker_convert-2.11.8.dist-info}/top_level.txt +0 -0
sticker_convert/converter.py
CHANGED
@@ -818,6 +818,9 @@ class StickerConvert:
|
|
818
818
|
im_out = [Image.fromarray(i) for i in self.frames_processed] # type: ignore
|
819
819
|
extra_kwargs["format"] = "WebP"
|
820
820
|
extra_kwargs["allow_mixed"] = True
|
821
|
+
extra_kwargs["kmax"] = (
|
822
|
+
1 # Keyframe every frame, otherwise black lines artifact can appear
|
823
|
+
)
|
821
824
|
if self.quality:
|
822
825
|
if self.quality < 20:
|
823
826
|
extra_kwargs["minimize_size"] = True
|
sticker_convert/job.py
CHANGED
@@ -172,6 +172,10 @@ class Executor:
|
|
172
172
|
try:
|
173
173
|
for process in self.processes:
|
174
174
|
process.join()
|
175
|
+
if process.exitcode != 0 and self.is_cancel_job.value == 0:
|
176
|
+
self.cb_msg(
|
177
|
+
f"Warning: A process exited with error (code {process.exitcode})"
|
178
|
+
)
|
175
179
|
except KeyboardInterrupt:
|
176
180
|
pass
|
177
181
|
|
@@ -92,7 +92,7 @@ class CRD:
|
|
92
92
|
def connect(self):
|
93
93
|
self.cmd_id = 1
|
94
94
|
r = None
|
95
|
-
for _ in range(
|
95
|
+
for _ in range(30):
|
96
96
|
try:
|
97
97
|
r = requests.get(f"http://localhost:{self.port}/json")
|
98
98
|
break
|
@@ -103,7 +103,7 @@ class CRD:
|
|
103
103
|
raise RuntimeError("Cannot connect to chrome debugging port")
|
104
104
|
|
105
105
|
targets = json.loads(r.text)
|
106
|
-
for _ in range(
|
106
|
+
for _ in range(30):
|
107
107
|
if len(targets) == 0:
|
108
108
|
time.sleep(1)
|
109
109
|
else:
|
sticker_convert/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: sticker-convert
|
3
|
-
Version: 2.11.
|
3
|
+
Version: 2.11.8
|
4
4
|
Summary: Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, Viber, Discord, iMessage. Written in Python.
|
5
5
|
Author-email: laggykiller <chaudominic2@gmail.com>
|
6
6
|
Maintainer-email: laggykiller <chaudominic2@gmail.com>
|
@@ -371,7 +371,7 @@ Requires-Dist: beautifulsoup4~=4.13.3
|
|
371
371
|
Requires-Dist: cryptg~=0.5.0.post0
|
372
372
|
Requires-Dist: rookiepy~=0.5.6
|
373
373
|
Requires-Dist: httpx~=0.28.1
|
374
|
-
Requires-Dist: imagequant~=1.1.
|
374
|
+
Requires-Dist: imagequant~=1.1.4
|
375
375
|
Requires-Dist: memory-tempfile~=2.2.3
|
376
376
|
Requires-Dist: mergedeep~=1.3.4
|
377
377
|
Requires-Dist: mini-racer~=0.12.4
|
@@ -384,10 +384,12 @@ Requires-Dist: PyMemoryEditor~=1.5.22
|
|
384
384
|
Requires-Dist: requests~=2.32.3
|
385
385
|
Requires-Dist: rlottie_python~=1.3.6
|
386
386
|
Requires-Dist: signalstickers-client-fork-laggykiller~=3.3.0.post2
|
387
|
+
Requires-Dist: socksio~=1.0.0
|
387
388
|
Requires-Dist: telethon~=1.39.0
|
388
389
|
Requires-Dist: tqdm~=4.67.1
|
389
390
|
Requires-Dist: ttkbootstrap-fork-laggykiller~=1.5.1
|
390
391
|
Requires-Dist: websocket_client~=1.8.0
|
392
|
+
Dynamic: license-file
|
391
393
|
|
392
394
|
# sticker-convert
|
393
395
|

|
@@ -451,9 +453,7 @@ Requires-Dist: websocket_client~=1.8.0
|
|
451
453
|
- Download: Supported (e.g. `https://telegram.me/addstickers/xxxxx`) for both stickers and custom emoji, but require bot token or setup Telethon
|
452
454
|
- Upload: Supported for both stickers and custom emoji, but require bot token and user_id or setup Telethon. Alternatively, you may manually upload and create sticker pack with the output of this program.
|
453
455
|
- WhatsApp
|
454
|
-
- Download: You have to manually find sticker packs / extract from your phone or from WhatsApp Web.
|
455
|
-
- Android Phone: Inside `/storage/emulated/0/Whatsapp/media/Whatsapp Stickers` OR `/storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Stickers`
|
456
|
-
- Any: Go to WhatsApp Web, right click on sticker and click "Save image as..."
|
456
|
+
- Download: You have to manually find sticker packs / extract from your phone or from WhatsApp Web. Learn more from [docs/guide_whatsapp.md](docs/guide_whatsapp.md)
|
457
457
|
- Upload: The program can create .wastickers file, which could then be imported into WhatsApp via a third-party app named 'Sticker Maker' (The author of this repo is NOT affiliated with Sticker Maker). View FAQ for more information.
|
458
458
|
- Line
|
459
459
|
- Download: Supported (e.g. `https://store.line.me/stickershop/product/1234/en` OR `line://shop/detail/1234` OR `1234`)
|
@@ -1,12 +1,12 @@
|
|
1
1
|
sticker_convert/__init__.py,sha256=iQnv6UOOA69c3soAn7ZOnAIubTIQSUxtq1Uhh8xRWvU,102
|
2
2
|
sticker_convert/__main__.py,sha256=elDCMvU27letiYs8jPUpxaCq5puURnvcDuqGsAAb6_w,592
|
3
3
|
sticker_convert/cli.py,sha256=MWzq9QJJ7HYBD73DmSgRIPo-u58mTGEIoUUpJKNjI0Q,22358
|
4
|
-
sticker_convert/converter.py,sha256=
|
4
|
+
sticker_convert/converter.py,sha256=aK06RPz5DQb5p-8IvsXqZQrvL6miKt4otX9vcdXBfqc,36784
|
5
5
|
sticker_convert/definitions.py,sha256=ZhP2ALCEud-w9ZZD4c3TDG9eHGPZyaAL7zPUsJAbjtE,2073
|
6
6
|
sticker_convert/gui.py,sha256=D9L-lFif4P4MANglis_wpjkzlUuGPuq8AybWGyPVP8E,33824
|
7
|
-
sticker_convert/job.py,sha256=
|
7
|
+
sticker_convert/job.py,sha256=gEd6yF8WPUR1_7q9SVhnwdD5usrDxwowNnR5q9uS8Yc,28011
|
8
8
|
sticker_convert/job_option.py,sha256=NysZtKVVG7EzRkLnVaeYJY0uNlYKFmjoststB1cvVrY,8020
|
9
|
-
sticker_convert/version.py,sha256=
|
9
|
+
sticker_convert/version.py,sha256=IGFf6wyoIrB4Ac0ZyUG26XAIcysi37r6vA4pKRslFp0,47
|
10
10
|
sticker_convert/downloaders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
sticker_convert/downloaders/download_base.py,sha256=MI5pCT_tkfoaFlrD1oNynDj1Rv1CK0APuNVElTEAEis,5110
|
12
12
|
sticker_convert/downloaders/download_discord.py,sha256=6AFpLAYL2hRvVcsqUtzDUC31U66U02ZcnKXDnZRi2jk,3496
|
@@ -85,7 +85,7 @@ sticker_convert/uploaders/upload_telegram.py,sha256=WlUyLJlW83XZz6RhA76jHMXA6TNU
|
|
85
85
|
sticker_convert/uploaders/upload_viber.py,sha256=kRvZZCv5WcalOJvz9Mdl2yqi3L5n4joovA39WMWn4qs,6420
|
86
86
|
sticker_convert/uploaders/xcode_imessage.py,sha256=iTTT8gDYOTNkKqXeSWUBuWfxu7xeE418t2Z1YQFR5L0,11365
|
87
87
|
sticker_convert/utils/callback.py,sha256=spYUGlklOs1yPZAxoqwOWgR1sdimpfM8a27if3TaVYk,6155
|
88
|
-
sticker_convert/utils/chrome_remotedebug.py,sha256=
|
88
|
+
sticker_convert/utils/chrome_remotedebug.py,sha256=AuAb-wMHiu7RDZ0YWD-WvIUc2CoR_TLsPVj4cdI2Kuw,5056
|
89
89
|
sticker_convert/utils/emoji.py,sha256=AqB26JY-PkYzNwPLReSnqLiQKe-bR9UXnLclAbgubJ8,367
|
90
90
|
sticker_convert/utils/process.py,sha256=EAQZ9WpiKmkvToIv8G1HNY4V7m0jXyyePTmeP2XOZzE,4688
|
91
91
|
sticker_convert/utils/url_detect.py,sha256=bgW7tM3_j8zv4uKPPhyyOkYoNdljUdqDkbyBMqAZoEI,947
|
@@ -107,9 +107,9 @@ sticker_convert/utils/media/apple_png_normalize.py,sha256=LbrQhc7LlYX4I9ek4XJsZE
|
|
107
107
|
sticker_convert/utils/media/codec_info.py,sha256=XoEWBfPWTzr4zSVQIU1XF1yh5viHxH5FytNEpdZR38c,14874
|
108
108
|
sticker_convert/utils/media/decrypt_kakao.py,sha256=4wq9ZDRnFkx1WmFZnyEogBofiLGsWQM_X69HlA36578,1947
|
109
109
|
sticker_convert/utils/media/format_verify.py,sha256=oM32P186tWe9YxvBQRPr8D3FEmBN3b2rEe_2S_MwxyQ,6236
|
110
|
-
sticker_convert-2.11.
|
111
|
-
sticker_convert-2.11.
|
112
|
-
sticker_convert-2.11.
|
113
|
-
sticker_convert-2.11.
|
114
|
-
sticker_convert-2.11.
|
115
|
-
sticker_convert-2.11.
|
110
|
+
sticker_convert-2.11.8.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
111
|
+
sticker_convert-2.11.8.dist-info/METADATA,sha256=D1g7_dZwU7hJRhNyX7MPA4Elw4l0FfkkYxhyH1w2lTU,53594
|
112
|
+
sticker_convert-2.11.8.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
113
|
+
sticker_convert-2.11.8.dist-info/entry_points.txt,sha256=MNJ7XyC--ugxi5jS1nzjDLGnxCyLuaGdsVLnJhDHCqs,66
|
114
|
+
sticker_convert-2.11.8.dist-info/top_level.txt,sha256=r9vfnB0l1ZnH5pTH5RvkobnK3Ow9m0RsncaOMAtiAtk,16
|
115
|
+
sticker_convert-2.11.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|