sticker-convert 2.11.6__py3-none-any.whl → 2.11.7__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.
@@ -818,6 +818,7 @@ 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"] = 1 # Keyframe every frame, otherwise black lines artifact can appear
821
822
  if self.quality:
822
823
  if self.quality < 20:
823
824
  extra_kwargs["minimize_size"] = True
@@ -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(5):
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(5):
106
+ for _ in range(30):
107
107
  if len(targets) == 0:
108
108
  time.sleep(1)
109
109
  else:
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env python3
2
2
 
3
- __version__ = "2.11.6"
3
+ __version__ = "2.11.7"
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: sticker-convert
3
- Version: 2.11.6
3
+ Version: 2.11.7
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>
@@ -388,6 +388,7 @@ Requires-Dist: telethon~=1.39.0
388
388
  Requires-Dist: tqdm~=4.67.1
389
389
  Requires-Dist: ttkbootstrap-fork-laggykiller~=1.5.1
390
390
  Requires-Dist: websocket_client~=1.8.0
391
+ Dynamic: license-file
391
392
 
392
393
  # sticker-convert
393
394
  ![imgs/banner.png](https://socialify.git.ci/laggykiller/sticker-convert/image?description=1&font=Inter&logo=https%3A%2F%2Fgithub.com%2Flaggykiller%2Fsticker-convert%2Fblob%2Fmaster%2Fsrc%2Fsticker_convert%2Fresources%2Fappicon.png%3Fraw%3Dtrue&name=1&owner=1&theme=Dark)
@@ -451,9 +452,7 @@ Requires-Dist: websocket_client~=1.8.0
451
452
  - Download: Supported (e.g. `https://telegram.me/addstickers/xxxxx`) for both stickers and custom emoji, but require bot token or setup Telethon
452
453
  - 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
454
  - 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..."
455
+ - 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
456
  - 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
457
  - Line
459
458
  - 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=sNaeQ9Dxui6zPi6nKisYe5u5BmuRVO5Dov1cMLS56z0,36648
4
+ sticker_convert/converter.py,sha256=K9VOVyPGHykkknujjCJ3i4HcUre6Aqm2SemjWZ4jMxg,36752
5
5
  sticker_convert/definitions.py,sha256=ZhP2ALCEud-w9ZZD4c3TDG9eHGPZyaAL7zPUsJAbjtE,2073
6
6
  sticker_convert/gui.py,sha256=D9L-lFif4P4MANglis_wpjkzlUuGPuq8AybWGyPVP8E,33824
7
7
  sticker_convert/job.py,sha256=FAjQPYr7anibaGovLwuFJdquq5ameDkcn7fQQpFIYQY,27790
8
8
  sticker_convert/job_option.py,sha256=NysZtKVVG7EzRkLnVaeYJY0uNlYKFmjoststB1cvVrY,8020
9
- sticker_convert/version.py,sha256=imrI-S5sV56ARRtwzM9Z6hddhBi_FXcCmAac7ZH0Fz8,47
9
+ sticker_convert/version.py,sha256=0RaydMSz6T9tM7fxULD9zW3LWJAm_xCsH_Uf0Mbl9cQ,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=n91BQDrU0Jxq10fLMA64l2BDA_wGF-o8UDyrYAiv6Qs,5054
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.6.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
111
- sticker_convert-2.11.6.dist-info/METADATA,sha256=Dt1-syhZ5Ts4bpqyfveauMDBOJTgpc5VFuykGquT4Lw,53736
112
- sticker_convert-2.11.6.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
113
- sticker_convert-2.11.6.dist-info/entry_points.txt,sha256=MNJ7XyC--ugxi5jS1nzjDLGnxCyLuaGdsVLnJhDHCqs,66
114
- sticker_convert-2.11.6.dist-info/top_level.txt,sha256=r9vfnB0l1ZnH5pTH5RvkobnK3Ow9m0RsncaOMAtiAtk,16
115
- sticker_convert-2.11.6.dist-info/RECORD,,
110
+ sticker_convert-2.11.7.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
111
+ sticker_convert-2.11.7.dist-info/METADATA,sha256=cu9-d2XmGROc77_PQ_kWHvLoSjmFHkPzk7wvw4QTMEQ,53564
112
+ sticker_convert-2.11.7.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
113
+ sticker_convert-2.11.7.dist-info/entry_points.txt,sha256=MNJ7XyC--ugxi5jS1nzjDLGnxCyLuaGdsVLnJhDHCqs,66
114
+ sticker_convert-2.11.7.dist-info/top_level.txt,sha256=r9vfnB0l1ZnH5pTH5RvkobnK3Ow9m0RsncaOMAtiAtk,16
115
+ sticker_convert-2.11.7.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.1.0)
2
+ Generator: setuptools (77.0.3)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5