sticker-convert 2.3.0__py3-none-any.whl → 2.4.0__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/__init__.py +1 -1
- sticker_convert/cli.py +15 -7
- sticker_convert/converter.py +180 -118
- sticker_convert/downloaders/download_line.py +7 -3
- sticker_convert/gui.py +15 -5
- sticker_convert/gui_components/frames/comp_frame.py +5 -0
- sticker_convert/gui_components/windows/advanced_compression_window.py +55 -15
- sticker_convert/job.py +20 -0
- sticker_convert/job_option.py +13 -4
- sticker_convert/resources/compression.json +92 -42
- sticker_convert/resources/help.json +5 -0
- sticker_convert/uploaders/compress_wastickers.py +2 -1
- sticker_convert/uploaders/xcode_imessage.py +2 -1
- sticker_convert/utils/files/sanitize_filename.py +51 -0
- sticker_convert/utils/media/codec_info.py +185 -119
- sticker_convert/utils/media/format_verify.py +80 -79
- {sticker_convert-2.3.0.dist-info → sticker_convert-2.4.0.dist-info}/METADATA +25 -8
- {sticker_convert-2.3.0.dist-info → sticker_convert-2.4.0.dist-info}/RECORD +22 -21
- {sticker_convert-2.3.0.dist-info → sticker_convert-2.4.0.dist-info}/LICENSE +0 -0
- {sticker_convert-2.3.0.dist-info → sticker_convert-2.4.0.dist-info}/WHEEL +0 -0
- {sticker_convert-2.3.0.dist-info → sticker_convert-2.4.0.dist-info}/entry_points.txt +0 -0
- {sticker_convert-2.3.0.dist-info → sticker_convert-2.4.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: sticker-convert
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.4.0
|
4
4
|
Summary: Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, iMessage. Written in Python.
|
5
5
|
Author-email: laggykiller <chaudominic2@gmail.com>
|
6
6
|
Maintainer-email: laggykiller <chaudominic2@gmail.com>
|
@@ -368,7 +368,7 @@ Requires-Dist: apngasm-python ~=1.2.2
|
|
368
368
|
Requires-Dist: av ~=11.0.0
|
369
369
|
Requires-Dist: beautifulsoup4 ~=4.12.3
|
370
370
|
Requires-Dist: rookiepy ~=0.3.6
|
371
|
-
Requires-Dist:
|
371
|
+
Requires-Dist: imagequant ~=1.1.0
|
372
372
|
Requires-Dist: memory-tempfile ~=2.2.3
|
373
373
|
Requires-Dist: numpy ~=1.26.3
|
374
374
|
Requires-Dist: Pillow ~=10.2.0
|
@@ -476,12 +476,14 @@ usage: sticker-convert.py [-h] [--version] [--no-confirm] [--input-dir INPUT_DIR
|
|
476
476
|
[--output-dir OUTPUT_DIR] [--author AUTHOR] [--title TITLE]
|
477
477
|
[--export-signal | --export-telegram | --export-whatsapp | --export-imessage] [--no-compress]
|
478
478
|
[--preset {auto,signal,telegram,whatsapp,line,kakao,imessage_small,imessage_medium,imessage_large,custom}]
|
479
|
-
[--steps STEPS] [--processes PROCESSES] [--fps-min FPS_MIN] [--fps-max FPS_MAX]
|
480
|
-
[--
|
481
|
-
[--res-
|
482
|
-
[--
|
483
|
-
[--
|
484
|
-
[--
|
479
|
+
[--steps STEPS] [--processes PROCESSES] [--fps-min FPS_MIN] [--fps-max FPS_MAX]
|
480
|
+
[--fps-power FPS_POWER] [--res-min RES_MIN] [--res-max RES_MAX] [--res-w-min RES_W_MIN]
|
481
|
+
[--res-w-max RES_W_MAX] [--res-h-min RES_H_MIN] [--res-h-max RES_H_MAX] [--res-power RES_POWER]
|
482
|
+
[--quality-min QUALITY_MIN] [--quality-max QUALITY_MAX] [--quality-power QUALITY_POWER]
|
483
|
+
[--color-min COLOR_MIN] [--color-max COLOR_MAX] [--color-power COLOR_POWER]
|
484
|
+
[--duration-min DURATION_MIN] [--duration-max DURATION_MAX] [--vid-size-max VID_SIZE_MAX]
|
485
|
+
[--img-size-max IMG_SIZE_MAX] [--vid-format VID_FORMAT] [--img-format IMG_FORMAT] [--fake-vid]
|
486
|
+
[--scale-filter SCALE_FILTER] [--quantize-method QUANTIZE_METHOD] [--cache-dir CACHE_DIR]
|
485
487
|
[--default-emoji DEFAULT_EMOJI] [--signal-uuid SIGNAL_UUID] [--signal-password SIGNAL_PASSWORD]
|
486
488
|
[--signal-get-auth] [--telegram-token TELEGRAM_TOKEN] [--telegram-userid TELEGRAM_USERID]
|
487
489
|
[--kakao-auth-token KAKAO_AUTH_TOKEN] [--kakao-get-auth] [--kakao-username KAKAO_USERNAME]
|
@@ -538,6 +540,8 @@ Compression options:
|
|
538
540
|
Processes higher = Compress faster but consume more resources.
|
539
541
|
--fps-min FPS_MIN Set minimum output fps.
|
540
542
|
--fps-max FPS_MAX Set maximum output fps.
|
543
|
+
--fps-power FPS_POWER
|
544
|
+
Between -1 and positive infinity. Power lower = More importance of the parameter, try harder to keep higher and not sacrifice.
|
541
545
|
--res-min RES_MIN Set minimum width and height
|
542
546
|
--res-max RES_MAX Set maximum width and height
|
543
547
|
--res-w-min RES_W_MIN
|
@@ -548,14 +552,22 @@ Compression options:
|
|
548
552
|
Set minimum height.
|
549
553
|
--res-h-max RES_H_MAX
|
550
554
|
Set maximum height.
|
555
|
+
--res-power RES_POWER
|
556
|
+
Between -1 and positive infinity.
|
557
|
+
Power lower = More importance of the parameter,
|
558
|
+
try harder to keep higher and not sacrifice.
|
551
559
|
--quality-min QUALITY_MIN
|
552
560
|
Set minimum quality.
|
553
561
|
--quality-max QUALITY_MAX
|
554
562
|
Set maximum quality.
|
563
|
+
--quality-power QUALITY_POWER
|
564
|
+
Between -1 and positive infinity. Power lower = More importance of the parameter, try harder to keep higher and not sacrifice.
|
555
565
|
--color-min COLOR_MIN
|
556
566
|
Set minimum number of colors (For converting to apng and apng only).
|
557
567
|
--color-max COLOR_MAX
|
558
568
|
Set maximum number of colors (For converting to apng and apng only).
|
569
|
+
--color-power COLOR_POWER
|
570
|
+
Between -1 and positive infinity. Power lower = More importance of the parameter, try harder to keep higher and not sacrifice.
|
559
571
|
--duration-min DURATION_MIN
|
560
572
|
Set minimum output duration in miliseconds.
|
561
573
|
--duration-max DURATION_MAX
|
@@ -578,6 +590,11 @@ Compression options:
|
|
578
590
|
- bilinear = linear interpolation
|
579
591
|
- bicubic = Cubic spline interpolation
|
580
592
|
- lanczos = A high-quality downsampling filter
|
593
|
+
--quantize-method QUANTIZE_METHOD
|
594
|
+
Set method for quantizing image. Default as imagequant. Valid options are:
|
595
|
+
- imagequant = Best quality but slow
|
596
|
+
- fastoctree = Fast but image looks chunky
|
597
|
+
- none = No image quantizing, large image size as result
|
581
598
|
--cache-dir CACHE_DIR
|
582
599
|
Set custom cache directory.
|
583
600
|
Useful for debugging, or speed up conversion if cache_dir is on RAM disk.
|
@@ -1,17 +1,17 @@
|
|
1
|
-
sticker_convert/__init__.py,sha256=
|
1
|
+
sticker_convert/__init__.py,sha256=_S9DSFIQB9c31XGwMSwUm3Hfbsvh_BC2ORjF9hGOZfE,66
|
2
2
|
sticker_convert/__main__.py,sha256=HHzFzRsxxhxkCL15_sE1rBAdtprT0NfVUNR591BMvl4,628
|
3
|
-
sticker_convert/cli.py,sha256=
|
4
|
-
sticker_convert/converter.py,sha256=
|
5
|
-
sticker_convert/gui.py,sha256=
|
6
|
-
sticker_convert/job.py,sha256=
|
7
|
-
sticker_convert/job_option.py,sha256=
|
3
|
+
sticker_convert/cli.py,sha256=fPlxeK3KO9JRdgyvSgc6F_P5QgMoAhDwbQHDx77IBvA,17646
|
4
|
+
sticker_convert/converter.py,sha256=qs2MeEagJ1830z86R4W9mKwTstNpjHM7YdzHXt6AwNA,22318
|
5
|
+
sticker_convert/gui.py,sha256=0SQhaddhxyTwtYLDtGe6hywwbxy7aY9-yYC-8r1HkC0,28524
|
6
|
+
sticker_convert/job.py,sha256=RKQ93buaMFJehscmjCj-y8W2GHe0dPUkCN2fOtfoIwI,18676
|
7
|
+
sticker_convert/job_option.py,sha256=l92vKXCSEgSsreN3RDV2fmYflaqlJ6pIuZV6QAhAu_4,11483
|
8
8
|
sticker_convert/downloaders/download_base.py,sha256=TYC6bod0IHUApPBLltsOg9zUOMJRScUp7RMwUG8nF78,2572
|
9
9
|
sticker_convert/downloaders/download_kakao.py,sha256=6NKUT5iHyvVX7og8kSyk80TXUM0upUQMnnDbPFCK0NQ,8034
|
10
|
-
sticker_convert/downloaders/download_line.py,sha256=
|
10
|
+
sticker_convert/downloaders/download_line.py,sha256=STJ2icIVCHJHopAguACJfnOdeucrDH3CJl4efpwJCC4,16480
|
11
11
|
sticker_convert/downloaders/download_signal.py,sha256=wUCfyo05A6GBd6myrFGCNYXlCLgt6c8hCWElpjfP9Us,2668
|
12
12
|
sticker_convert/downloaders/download_telegram.py,sha256=t2TU125th7vh4kzkmKgy-QzVhvFun-4RlKcrl3GOeqU,4090
|
13
13
|
sticker_convert/gui_components/gui_utils.py,sha256=_34tJMrwL44CM4N0hVvxZ8o16l2jYau7p7Ew0L1daJ4,3177
|
14
|
-
sticker_convert/gui_components/frames/comp_frame.py,sha256=
|
14
|
+
sticker_convert/gui_components/frames/comp_frame.py,sha256=5Lr_KeNtiW9B6WPkkun4tNMnVLNUzZfJnIyG2VLEkp0,6992
|
15
15
|
sticker_convert/gui_components/frames/config_frame.py,sha256=JXvyIwl74PviErMK6V8yS8a3lMdRpSOGWlxFgN-ZDuw,3826
|
16
16
|
sticker_convert/gui_components/frames/control_frame.py,sha256=jwm1kBwLFxDp-wgfJwDEpBXpcx_84r26L-Ep0T4azfE,748
|
17
17
|
sticker_convert/gui_components/frames/cred_frame.py,sha256=UD3q5fJgbZ9Q4f3YgqJvptwmJy9w094OcU4P-T2hzns,5534
|
@@ -19,7 +19,7 @@ sticker_convert/gui_components/frames/input_frame.py,sha256=N_xphGfy2EsuSK_OTUkH
|
|
19
19
|
sticker_convert/gui_components/frames/output_frame.py,sha256=fdJyNFjN8Y_qrtTFJeX-BVr3VaXUBmpiEPDnT7TcD3I,3698
|
20
20
|
sticker_convert/gui_components/frames/progress_frame.py,sha256=LC-Bf9kR3hTMQSTbZIgfUAIYYaRJenqOfUHDHfnUJYw,3124
|
21
21
|
sticker_convert/gui_components/frames/right_clicker.py,sha256=037pLjg_ZLQ6XF3MrGy9ljBiXTqkhfmfGFuqYfyrf3Y,633
|
22
|
-
sticker_convert/gui_components/windows/advanced_compression_window.py,sha256=
|
22
|
+
sticker_convert/gui_components/windows/advanced_compression_window.py,sha256=ijClNnQuanAd887yV4lvNYjHHL6jPtgYMg7wOQxvU4g,28017
|
23
23
|
sticker_convert/gui_components/windows/base_window.py,sha256=zsWxW2hs_wQ4dQ9dZMDhyjnQBC1i_7gKCJ_rVqb_quE,1032
|
24
24
|
sticker_convert/gui_components/windows/kakao_get_auth_window.py,sha256=iMSrpslItfo43n0QrTO74XDbLEX3MmA0Hb8uyuhOygw,5964
|
25
25
|
sticker_convert/gui_components/windows/line_get_auth_window.py,sha256=qX73KYpQ5nLH89R2mj2Rh07mzhjIUKUnSuDy0RFZR4E,2986
|
@@ -60,16 +60,16 @@ sticker_convert/resources/NotoColorEmoji.ttf,sha256=LurIVaCIA8bSCfjrdO1feYr0bhKL
|
|
60
60
|
sticker_convert/resources/appicon.icns,sha256=FB2DVTOQcFfQNZ9RcyG3z9c9k7eOiI1qw0IJhXMRFg4,5404
|
61
61
|
sticker_convert/resources/appicon.ico,sha256=-ldugcl2Yq2pBRTktnhGKWInpKyWzRjCiPvMr3XPTlc,38078
|
62
62
|
sticker_convert/resources/appicon.png,sha256=6XBEQz7PnerqS43aRkwpWolFG4WvKMuQ-st1ly-_JPg,5265
|
63
|
-
sticker_convert/resources/compression.json,sha256=
|
63
|
+
sticker_convert/resources/compression.json,sha256=sIMEfWQ6G0gpn9GBCjJEEO8hvsVsRCNcsa5JRjihRpI,9593
|
64
64
|
sticker_convert/resources/emoji.json,sha256=vIRB-0ICtH8ZvyWhUPqc4VU5po-G-z8bTMrfCLBPPdM,408777
|
65
|
-
sticker_convert/resources/help.json,sha256=
|
65
|
+
sticker_convert/resources/help.json,sha256=5dUa6jg8vhefuu7gUgwVH9lHiNVU8Zjjn-7BwAIL-yw,5749
|
66
66
|
sticker_convert/resources/input.json,sha256=UofL_xlWCMq9fllu-OpHBJf1eReSI1Z0ojMO8ffkIPQ,2211
|
67
67
|
sticker_convert/resources/output.json,sha256=0k8J3z0nPRkyIZj4DvXI4FPvlFuYFoYgA2ldVaMtF0Y,1131
|
68
|
-
sticker_convert/uploaders/compress_wastickers.py,sha256=
|
68
|
+
sticker_convert/uploaders/compress_wastickers.py,sha256=1qEZLj5loWDJU3Hpg5xpKHq-oxua9qKfGZuWhOlIYtU,5436
|
69
69
|
sticker_convert/uploaders/upload_base.py,sha256=KQMtzb1vIY8SLzLkUInVNssC1EMsynsxMHT6gpz2Xp8,816
|
70
70
|
sticker_convert/uploaders/upload_signal.py,sha256=Bwpxvs_2HkCRJa7Ka-I5mAHaGIYIKoJyJIPQfEngKk4,6053
|
71
71
|
sticker_convert/uploaders/upload_telegram.py,sha256=7Y-u843bJFf5O6gHN3AW1a4Xr64_u8CUOB_f4osVI3c,10384
|
72
|
-
sticker_convert/uploaders/xcode_imessage.py,sha256=
|
72
|
+
sticker_convert/uploaders/xcode_imessage.py,sha256=i5jeIGUXwu48R6zFmHS96-nZ3jr1P9r0v8beui9kE6k,13386
|
73
73
|
sticker_convert/utils/fake_cb_msg.py,sha256=LYHWKqjL4GdNG2HUCbvVNsRjQOErJBXsJS-kRVQqJ5k,289
|
74
74
|
sticker_convert/utils/url_detect.py,sha256=x163bVIH4rEimozvFHMC-XBmxyecf3qpBjJIBt8WPeE,793
|
75
75
|
sticker_convert/utils/auth/get_kakao_auth.py,sha256=Q3CxzDqzoo9vf_bsbmpKZXeQODEXQ5leijKjjMt2Gv8,9306
|
@@ -80,13 +80,14 @@ sticker_convert/utils/files/dir_utils.py,sha256=_dDt3UAisnCyiqWoZsfMIEnX2Mkqz-O4
|
|
80
80
|
sticker_convert/utils/files/json_manager.py,sha256=BBndjSY5kvjxurOpnDI2DRsKoLrNBTf5HoGfUqlf-4Y,503
|
81
81
|
sticker_convert/utils/files/metadata_handler.py,sha256=KIy8j89DMBW7-gpL9jqhzz96GgBvPHsRYegHXemk_mY,8346
|
82
82
|
sticker_convert/utils/files/run_bin.py,sha256=4c8y5c_2wUfm0hbJSOGFcezpW5BVqM5_e9aliPbxvwo,1632
|
83
|
+
sticker_convert/utils/files/sanitize_filename.py,sha256=nWQr2FX39IBztNwA5vHghI2c2Z4bDxClOMhB7jyvZPg,2074
|
83
84
|
sticker_convert/utils/media/apple_png_normalize.py,sha256=YGrZ8pZvgfhw8dW-0gf7XcXk_R82lJTX-oTo6SsB7uY,3719
|
84
|
-
sticker_convert/utils/media/codec_info.py,sha256=
|
85
|
+
sticker_convert/utils/media/codec_info.py,sha256=Ezarn5KLws75gbBQ6X8jft5KpruKyWns08WVwBFFEks,8411
|
85
86
|
sticker_convert/utils/media/decrypt_kakao.py,sha256=gMz64vIGEIPAl4FFWuUbPMHE7vExr46ZFpzMoukvwws,1918
|
86
|
-
sticker_convert/utils/media/format_verify.py,sha256=
|
87
|
-
sticker_convert-2.
|
88
|
-
sticker_convert-2.
|
89
|
-
sticker_convert-2.
|
90
|
-
sticker_convert-2.
|
91
|
-
sticker_convert-2.
|
92
|
-
sticker_convert-2.
|
87
|
+
sticker_convert/utils/media/format_verify.py,sha256=Hphm2tVb35OIvRyiyZ1UITUA4VUVqJU_D7iJTtg3ZrY,5217
|
88
|
+
sticker_convert-2.4.0.dist-info/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
89
|
+
sticker_convert-2.4.0.dist-info/METADATA,sha256=vLg__S8mkyvGRk-R2q3PxlpbbQ6CC6PR1BPvPl4CKc8,46486
|
90
|
+
sticker_convert-2.4.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
91
|
+
sticker_convert-2.4.0.dist-info/entry_points.txt,sha256=MNJ7XyC--ugxi5jS1nzjDLGnxCyLuaGdsVLnJhDHCqs,66
|
92
|
+
sticker_convert-2.4.0.dist-info/top_level.txt,sha256=r9vfnB0l1ZnH5pTH5RvkobnK3Ow9m0RsncaOMAtiAtk,16
|
93
|
+
sticker_convert-2.4.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|