sticker-convert 2.8.6__tar.gz → 2.8.8__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. {sticker_convert-2.8.6/src/sticker_convert.egg-info → sticker_convert-2.8.8}/PKG-INFO +8 -6
  2. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/README.md +4 -2
  3. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/pyproject.toml +1 -1
  4. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/requirements.txt +2 -2
  5. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/converter.py +4 -4
  6. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/downloaders/download_base.py +4 -1
  7. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/windows/advanced_compression_window.py +11 -2
  8. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/resources/help.json +1 -1
  9. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/resources/input.json +1 -1
  10. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/files/metadata_handler.py +1 -0
  11. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/version.py +1 -1
  12. {sticker_convert-2.8.6 → sticker_convert-2.8.8/src/sticker_convert.egg-info}/PKG-INFO +8 -6
  13. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert.egg-info/requires.txt +2 -2
  14. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/LICENSE +0 -0
  15. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/MANIFEST.in +0 -0
  16. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/setup.cfg +0 -0
  17. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/__init__.py +0 -0
  18. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/__main__.py +0 -0
  19. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/cli.py +0 -0
  20. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/definitions.py +0 -0
  21. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/downloaders/__init__.py +0 -0
  22. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/downloaders/download_kakao.py +0 -0
  23. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/downloaders/download_line.py +0 -0
  24. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/downloaders/download_signal.py +0 -0
  25. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/downloaders/download_telegram.py +0 -0
  26. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/downloaders/download_viber.py +0 -0
  27. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui.py +0 -0
  28. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/__init__.py +0 -0
  29. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/frames/__init__.py +0 -0
  30. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/frames/comp_frame.py +0 -0
  31. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/frames/config_frame.py +0 -0
  32. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/frames/control_frame.py +0 -0
  33. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/frames/cred_frame.py +0 -0
  34. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/frames/input_frame.py +0 -0
  35. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/frames/output_frame.py +0 -0
  36. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/frames/progress_frame.py +0 -0
  37. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/frames/right_clicker.py +0 -0
  38. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/gui_utils.py +0 -0
  39. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/windows/__init__.py +0 -0
  40. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/windows/base_window.py +0 -0
  41. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/windows/kakao_get_auth_window.py +0 -0
  42. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/windows/line_get_auth_window.py +0 -0
  43. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/gui_components/windows/signal_get_auth_window.py +0 -0
  44. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/.github/FUNDING.yml +0 -0
  45. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/.gitignore +0 -0
  46. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/README.md +0 -0
  47. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers/Info.plist +0 -0
  48. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Info.plist +0 -0
  49. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Contents.json +0 -0
  50. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Contents.json +0 -0
  51. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 1.sticker/Contents.json +0 -0
  52. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 1.sticker/Sticker 1.png +0 -0
  53. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 2.sticker/Contents.json +0 -0
  54. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 2.sticker/Sticker 2.png +0 -0
  55. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 3.sticker/Contents.json +0 -0
  56. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 3.sticker/Sticker 3.png +0 -0
  57. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/App-Store-1024x1024pt.png +0 -0
  58. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Contents.json +0 -0
  59. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-App-Store-1024x768pt.png +0 -0
  60. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPad-67x50pt@2x.png +0 -0
  61. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPad-Pro-74x55pt@2x.png +0 -0
  62. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPhone-60x45pt@2x.png +0 -0
  63. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPhone-60x45pt@3x.png +0 -0
  64. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages27x20pt@2x.png +0 -0
  65. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages27x20pt@3x.png +0 -0
  66. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages32x24pt@2x.png +0 -0
  67. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages32x24pt@3x.png +0 -0
  68. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/iPad-Settings-29pt@2x.png +0 -0
  69. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/iPhone-Settings-29pt@3x.png +0 -0
  70. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/iPhone-settings-29pt@2x.png +0 -0
  71. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.pbxproj +0 -0
  72. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
  73. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -0
  74. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.xcworkspace/xcuserdata/niklaspeterson.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  75. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/xcuserdata/niklaspeterson.xcuserdatad/xcschemes/xcschememanagement.plist +0 -0
  76. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/job.py +0 -0
  77. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/job_option.py +0 -0
  78. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/resources/NotoColorEmoji.ttf +0 -0
  79. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/resources/appicon.icns +0 -0
  80. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/resources/appicon.ico +0 -0
  81. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/resources/appicon.png +0 -0
  82. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/resources/compression.json +0 -0
  83. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/resources/emoji.json +0 -0
  84. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/resources/output.json +0 -0
  85. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/uploaders/__init__.py +0 -0
  86. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/uploaders/compress_wastickers.py +0 -0
  87. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/uploaders/upload_base.py +0 -0
  88. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/uploaders/upload_signal.py +0 -0
  89. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/uploaders/upload_telegram.py +0 -0
  90. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/uploaders/xcode_imessage.py +0 -0
  91. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/auth/get_kakao_auth.py +0 -0
  92. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/auth/get_line_auth.py +0 -0
  93. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/auth/get_signal_auth.py +0 -0
  94. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/callback.py +0 -0
  95. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/files/cache_store.py +0 -0
  96. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/files/json_manager.py +0 -0
  97. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/files/json_resources_loader.py +0 -0
  98. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/files/run_bin.py +0 -0
  99. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/files/sanitize_filename.py +0 -0
  100. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/media/apple_png_normalize.py +0 -0
  101. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/media/codec_info.py +0 -0
  102. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/media/decrypt_kakao.py +0 -0
  103. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/media/format_verify.py +0 -0
  104. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert/utils/url_detect.py +0 -0
  105. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert.egg-info/SOURCES.txt +0 -0
  106. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert.egg-info/dependency_links.txt +0 -0
  107. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert.egg-info/entry_points.txt +0 -0
  108. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/src/sticker_convert.egg-info/top_level.txt +0 -0
  109. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/tests/test_compression.py +0 -0
  110. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/tests/test_download.py +0 -0
  111. {sticker_convert-2.8.6 → sticker_convert-2.8.8}/tests/test_export.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sticker-convert
3
- Version: 2.8.6
4
- Summary: Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, iMessage. Written in Python.
3
+ Version: 2.8.8
4
+ Summary: Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, Viber, iMessage. Written in Python.
5
5
  Author-email: laggykiller <chaudominic2@gmail.com>
6
6
  Maintainer-email: laggykiller <chaudominic2@gmail.com>
7
7
  License: GNU GENERAL PUBLIC LICENSE
@@ -369,7 +369,7 @@ Requires-Dist: anyio~=4.3.0
369
369
  Requires-Dist: apngasm_python~=1.2.3
370
370
  Requires-Dist: av~=12.0.0
371
371
  Requires-Dist: beautifulsoup4~=4.12.3
372
- Requires-Dist: rookiepy~=0.4.0
372
+ Requires-Dist: rookiepy~=0.5.1
373
373
  Requires-Dist: imagequant~=1.1.1
374
374
  Requires-Dist: memory-tempfile~=2.2.3
375
375
  Requires-Dist: mergedeep~=1.3.4
@@ -381,7 +381,7 @@ Requires-Dist: requests~=2.31.0
381
381
  Requires-Dist: rlottie_python~=1.3.4
382
382
  Requires-Dist: signalstickers-client-fork-laggykiller~=3.3.0.post1
383
383
  Requires-Dist: sqlcipher3-wheels~=0.5.2.post1
384
- Requires-Dist: tqdm~=4.66.2
384
+ Requires-Dist: tqdm~=4.66.4
385
385
  Requires-Dist: ttkbootstrap-fork-laggykiller~=1.5.1
386
386
  Requires-Dist: webp~=0.3.0
387
387
 
@@ -586,8 +586,8 @@ Compression options:
586
586
  Set maximum output duration in miliseconds.
587
587
  --padding-percent PADDING_PERCENT
588
588
  Set percentage of space used as padding.
589
- --bg-color BG_COLOR Set custom background color.
590
- Example: 00ff00 for green.
589
+ --bg-color BG_COLOR Set custom background color in rrggbbaa format.
590
+ Example: 00ff00 for green with alpha 0.
591
591
  If this is not set, background color would be auto set to black if image is bright, or white if image is dark.
592
592
  Note: The color should not be visible if output format supports transparency.
593
593
  --vid-size-max VID_SIZE_MAX
@@ -768,6 +768,7 @@ See [docs/COMPILING.md](docs/COMPILING.md)
768
768
  - [WhatsApp](docs/guide_whatsapp.md)
769
769
  - [Line](docs/guide_line.md)
770
770
  - [Kakao](docs/guide_kakao.md)
771
+ - [Viber](docs/guide_viber.md)
771
772
  - [iMessage](docs/guide_imessage.md)
772
773
 
773
774
  ### Conversion is slow
@@ -825,6 +826,7 @@ See [docs/TODO.md](docs/TODO.md)
825
826
  - Information about Kakao animated stickers: https://gist.github.com/chitacan/9802668
826
827
  - Downloading and decrypting Kakao animated stickers: https://github.com/blluv/KakaoTalkEmoticonDownloader
827
828
  - Application icon taken from [Icons8](https://icons8.com/)
829
+ - Banner generated from [GitHub Socialify](https://socialify.git.ci/)
828
830
 
829
831
  ## DISCLAIMER
830
832
  - The author of this repo is NOT affiliated with Signal, Telegram, WhatsApp, Line, Kakao or Sticker Maker.
@@ -199,8 +199,8 @@ Compression options:
199
199
  Set maximum output duration in miliseconds.
200
200
  --padding-percent PADDING_PERCENT
201
201
  Set percentage of space used as padding.
202
- --bg-color BG_COLOR Set custom background color.
203
- Example: 00ff00 for green.
202
+ --bg-color BG_COLOR Set custom background color in rrggbbaa format.
203
+ Example: 00ff00 for green with alpha 0.
204
204
  If this is not set, background color would be auto set to black if image is bright, or white if image is dark.
205
205
  Note: The color should not be visible if output format supports transparency.
206
206
  --vid-size-max VID_SIZE_MAX
@@ -381,6 +381,7 @@ See [docs/COMPILING.md](docs/COMPILING.md)
381
381
  - [WhatsApp](docs/guide_whatsapp.md)
382
382
  - [Line](docs/guide_line.md)
383
383
  - [Kakao](docs/guide_kakao.md)
384
+ - [Viber](docs/guide_viber.md)
384
385
  - [iMessage](docs/guide_imessage.md)
385
386
 
386
387
  ### Conversion is slow
@@ -438,6 +439,7 @@ See [docs/TODO.md](docs/TODO.md)
438
439
  - Information about Kakao animated stickers: https://gist.github.com/chitacan/9802668
439
440
  - Downloading and decrypting Kakao animated stickers: https://github.com/blluv/KakaoTalkEmoticonDownloader
440
441
  - Application icon taken from [Icons8](https://icons8.com/)
442
+ - Banner generated from [GitHub Socialify](https://socialify.git.ci/)
441
443
 
442
444
  ## DISCLAIMER
443
445
  - The author of this repo is NOT affiliated with Signal, Telegram, WhatsApp, Line, Kakao or Sticker Maker.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sticker-convert"
3
- description = "Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, iMessage. Written in Python."
3
+ description = "Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, Viber, iMessage. Written in Python."
4
4
  readme = "README.md"
5
5
  requires-python = ">=3.8"
6
6
  license = {file = "LICENSE"}
@@ -3,7 +3,7 @@ anyio~=4.3.0
3
3
  apngasm_python~=1.2.3
4
4
  av~=12.0.0
5
5
  beautifulsoup4~=4.12.3
6
- rookiepy~=0.4.0
6
+ rookiepy~=0.5.1
7
7
  imagequant~=1.1.1
8
8
  memory-tempfile~=2.2.3
9
9
  mergedeep~=1.3.4
@@ -15,6 +15,6 @@ requests~=2.31.0
15
15
  rlottie_python~=1.3.4
16
16
  signalstickers-client-fork-laggykiller~=3.3.0.post1
17
17
  sqlcipher3-wheels~=0.5.2.post1
18
- tqdm~=4.66.2
18
+ tqdm~=4.66.4
19
19
  ttkbootstrap-fork-laggykiller~=1.5.1
20
20
  webp~=0.3.0
@@ -186,8 +186,8 @@ class StickerConvert:
186
186
 
187
187
  self.bg_color: Optional[Tuple[int, int, int, int]] = None
188
188
  if self.opt_comp.bg_color:
189
- r, g, b = bytes.fromhex(self.opt_comp.bg_color)
190
- self.bg_color = (r, g, b, 0)
189
+ r, g, b, a = bytes.fromhex(self.opt_comp.bg_color)
190
+ self.bg_color = (r, g, b, a)
191
191
 
192
192
  self.tmp_f: BytesIO = BytesIO()
193
193
  self.result: Optional[bytes] = None
@@ -228,7 +228,7 @@ class StickerConvert:
228
228
  else:
229
229
  self.size_max = self.opt_comp.size_max_img
230
230
 
231
- if self.size_max is None:
231
+ if self.size_max in (None, 0):
232
232
  # No limit to size, create the best quality result
233
233
  step_current = 0
234
234
  else:
@@ -804,6 +804,7 @@ class StickerConvert:
804
804
  # GIF can only have one alpha color
805
805
  # Change lowest alpha to alpha=0
806
806
  # Only keep alpha=0 and alpha=255, nothing in between
807
+ extra_kwargs["format"] = "GIF"
807
808
  frames_processed = np.array(self.frames_processed)
808
809
  alpha = frames_processed[:, :, :, 3]
809
810
  alpha_min = np.min(alpha) # type: ignore
@@ -820,7 +821,6 @@ class StickerConvert:
820
821
  self.quantize(Image.fromarray(i).convert("RGB")).convert("RGB") # type: ignore
821
822
  for i in frames_processed
822
823
  ]
823
- extra_kwargs["format"] = "GIF"
824
824
  elif self.out_f.suffix == ".webp":
825
825
  im_out = [Image.fromarray(i) for i in self.frames_processed] # type: ignore
826
826
  extra_kwargs["format"] = "WebP"
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env python3
2
2
  from __future__ import annotations
3
3
 
4
+ from functools import partial
4
5
  from pathlib import Path
5
6
  from typing import Any, List, Optional, Tuple
6
7
 
@@ -29,7 +30,9 @@ class DownloadBase:
29
30
  def download_multiple_files(
30
31
  self, targets: List[Tuple[str, Path]], retries: int = 3, **kwargs: Any
31
32
  ) -> None:
32
- anyio.run(self.download_multiple_files_async, targets, retries, **kwargs)
33
+ anyio.run(
34
+ partial(self.download_multiple_files_async, targets, retries, **kwargs)
35
+ )
33
36
 
34
37
  async def download_multiple_files_async(
35
38
  self, targets: List[Tuple[str, Path]], retries: int = 3, **kwargs: Any
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env python3
2
2
  from __future__ import annotations
3
3
 
4
+ import re
4
5
  from functools import partial
5
6
  from tkinter import colorchooser
6
7
  from typing import Any, List, Tuple
@@ -580,9 +581,17 @@ class AdvancedCompressionWindow(BaseWindow):
580
581
  self.fake_vid_cbox.config(state=state)
581
582
 
582
583
  def cb_bg_color(self, *_: Any) -> None:
583
- color = colorchooser.askcolor(title="Choose color")[1]
584
+ color_init = "#" + self.gui.bg_color_var.get()[:6]
585
+ color_init = (
586
+ color_init if re.search(r"^#(?:[0-9a-fA-F]{3}){1,2}$", color_init) else None
587
+ )
588
+ color = colorchooser.askcolor(
589
+ title="Choose color",
590
+ color=color_init,
591
+ parent=self,
592
+ )[1]
584
593
  if color:
585
- self.gui.bg_color_var.set(color.replace("#", ""))
594
+ self.gui.bg_color_var.set(color.replace("#", "") + "00")
586
595
  self.lift()
587
596
  self.attributes("-topmost", True) # type: ignore
588
597
  self.attributes("-topmost", False) # type: ignore
@@ -40,7 +40,7 @@
40
40
  "duration_min": "Set minimum output duration in miliseconds.",
41
41
  "duration_max": "Set maximum output duration in miliseconds.",
42
42
  "padding_percent": "Set percentage of space used as padding.",
43
- "bg_color": "Set custom background color.\nExample: 00ff00 for green.\nIf this is not set, background color would be auto set to black if image is bright, or white if image is dark.\nNote: The color should not be visible if output format supports transparency.",
43
+ "bg_color": "Set custom background color in rrggbbaa format.\nExample: 00ff0000 for green with alpha 0.\nIf this is not set, background color would be auto set to black if image is bright, or white if image is dark.\nNote: The color should not be visible if output format supports transparency.",
44
44
  "size": "Set maximum file size in bytes for video and image.",
45
45
  "vid_size_max": "Set maximum file size limit for animated stickers.",
46
46
  "img_size_max": "Set maximum file size limit for static stickers.",
@@ -2,7 +2,7 @@
2
2
  "auto": {
3
3
  "full_name": "Download (Auto detect)",
4
4
  "help": "Auto detect URL type and download",
5
- "example": "Supported input sources: Signal, Telegram, Line, Kakao",
5
+ "example": "Supported input sources: Signal, Telegram, Line, Kakao, Viber",
6
6
  "address_lbls": "URL address",
7
7
  "metadata_provides": {
8
8
  "title": false,
@@ -24,6 +24,7 @@ RELATED_EXTENSIONS = (
24
24
  ".webp",
25
25
  ".avi",
26
26
  ".m4a",
27
+ ".mp3",
27
28
  ".wastickers",
28
29
  )
29
30
  RELATED_NAME = (
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env python3
2
2
 
3
- __version__ = "2.8.6"
3
+ __version__ = "2.8.8"
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sticker-convert
3
- Version: 2.8.6
4
- Summary: Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, iMessage. Written in Python.
3
+ Version: 2.8.8
4
+ Summary: Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, Viber, iMessage. Written in Python.
5
5
  Author-email: laggykiller <chaudominic2@gmail.com>
6
6
  Maintainer-email: laggykiller <chaudominic2@gmail.com>
7
7
  License: GNU GENERAL PUBLIC LICENSE
@@ -369,7 +369,7 @@ Requires-Dist: anyio~=4.3.0
369
369
  Requires-Dist: apngasm_python~=1.2.3
370
370
  Requires-Dist: av~=12.0.0
371
371
  Requires-Dist: beautifulsoup4~=4.12.3
372
- Requires-Dist: rookiepy~=0.4.0
372
+ Requires-Dist: rookiepy~=0.5.1
373
373
  Requires-Dist: imagequant~=1.1.1
374
374
  Requires-Dist: memory-tempfile~=2.2.3
375
375
  Requires-Dist: mergedeep~=1.3.4
@@ -381,7 +381,7 @@ Requires-Dist: requests~=2.31.0
381
381
  Requires-Dist: rlottie_python~=1.3.4
382
382
  Requires-Dist: signalstickers-client-fork-laggykiller~=3.3.0.post1
383
383
  Requires-Dist: sqlcipher3-wheels~=0.5.2.post1
384
- Requires-Dist: tqdm~=4.66.2
384
+ Requires-Dist: tqdm~=4.66.4
385
385
  Requires-Dist: ttkbootstrap-fork-laggykiller~=1.5.1
386
386
  Requires-Dist: webp~=0.3.0
387
387
 
@@ -586,8 +586,8 @@ Compression options:
586
586
  Set maximum output duration in miliseconds.
587
587
  --padding-percent PADDING_PERCENT
588
588
  Set percentage of space used as padding.
589
- --bg-color BG_COLOR Set custom background color.
590
- Example: 00ff00 for green.
589
+ --bg-color BG_COLOR Set custom background color in rrggbbaa format.
590
+ Example: 00ff00 for green with alpha 0.
591
591
  If this is not set, background color would be auto set to black if image is bright, or white if image is dark.
592
592
  Note: The color should not be visible if output format supports transparency.
593
593
  --vid-size-max VID_SIZE_MAX
@@ -768,6 +768,7 @@ See [docs/COMPILING.md](docs/COMPILING.md)
768
768
  - [WhatsApp](docs/guide_whatsapp.md)
769
769
  - [Line](docs/guide_line.md)
770
770
  - [Kakao](docs/guide_kakao.md)
771
+ - [Viber](docs/guide_viber.md)
771
772
  - [iMessage](docs/guide_imessage.md)
772
773
 
773
774
  ### Conversion is slow
@@ -825,6 +826,7 @@ See [docs/TODO.md](docs/TODO.md)
825
826
  - Information about Kakao animated stickers: https://gist.github.com/chitacan/9802668
826
827
  - Downloading and decrypting Kakao animated stickers: https://github.com/blluv/KakaoTalkEmoticonDownloader
827
828
  - Application icon taken from [Icons8](https://icons8.com/)
829
+ - Banner generated from [GitHub Socialify](https://socialify.git.ci/)
828
830
 
829
831
  ## DISCLAIMER
830
832
  - The author of this repo is NOT affiliated with Signal, Telegram, WhatsApp, Line, Kakao or Sticker Maker.
@@ -3,7 +3,7 @@ anyio~=4.3.0
3
3
  apngasm_python~=1.2.3
4
4
  av~=12.0.0
5
5
  beautifulsoup4~=4.12.3
6
- rookiepy~=0.4.0
6
+ rookiepy~=0.5.1
7
7
  imagequant~=1.1.1
8
8
  memory-tempfile~=2.2.3
9
9
  mergedeep~=1.3.4
@@ -15,6 +15,6 @@ requests~=2.31.0
15
15
  rlottie_python~=1.3.4
16
16
  signalstickers-client-fork-laggykiller~=3.3.0.post1
17
17
  sqlcipher3-wheels~=0.5.2.post1
18
- tqdm~=4.66.2
18
+ tqdm~=4.66.4
19
19
  ttkbootstrap-fork-laggykiller~=1.5.1
20
20
  webp~=0.3.0
File without changes