寫咗程式轉stickers whatsapp, tg, 熄爐, line, kakao都支持

345 回覆
557 Like 18 Dislike
2022-12-29 23:23:05
巴打有無研究有咩方法可以將animated sticker 導入去 iMessage?

Sticker Maker 可以導入animated sticker 去 Whatsapp, 但同一個pack 入 iMessage 就會變成唔識郁
2022-12-30 02:32:16
其實我唔用Apple嘢 部Hackintosh唔知行唔行到iMessage

啱啱查過 似乎得三種size揀 (300x300 or 408x408 or 618x618) 同埋要 <500kb 格式 apng/git (推介用apng)

你試下用呢個設定 睇下郁唔郁到?



我下星期得閒啲再研究下
2022-12-31 04:02:34
2022-12-31 05:48:38
2022-12-31 05:58:38
留名
2022-12-31 06:10:10
仲有咩藉口唔出齊
2022-12-31 06:11:06
肯搵下
應該有現成嘅可以靚十倍
2022-12-31 12:02:27
Telegram嘅限制唔係我嘅限制

你可以自己剪/fast forward成3秒

我遲啲加個option set duration
2022-12-31 16:25:13

如果我直接用你個program output 去tg 嘅話係咪唔會有問題?
2022-12-31 18:22:40
如果啱規格就可以
但係暫時個program唔check duration
2023-01-04 08:52:57
試下1.7.0?
依家如果太長會fast forward到合適長度
2023-01-04 08:53:41
試下1.7.0?
依家有iMessage preset
2023-01-04 08:55:47
2023-01-04 09:03:26
2023-01-04 09:33:50
今晚返去試吓
2023-01-04 12:37:36
唔係好得, 連轉 Whatsapp 都fail 埋

1.
Input: Download from Line (https://store.line.me/stickershop/product/26105/en)
Output: Compress to .wastickers 或者 Save to local directory
Compression Options: imessage (3種)

Warning: Cannot find binary file optipng.exe
expected str, bytes or os.PathLike object, not NoneType Traceback (most recent call last):
File "utils\converter.py", line 101, in compress_to_size
File "utils\converter.py", line 215, in convert_generic_image
File "utils\converter.py", line 262, in png_optimize
File "utils\run_bin.py", line 31, in run_cmd
File "subprocess.py", line 1024, in __init__
File "subprocess.py", line 1433, in _execute_child
File "subprocess.py", line 608, in list2cmdline
File "<frozen os>", line 824, in fsdecode
TypeError: expected str, bytes or os.PathLike object, not NoneType

-----------------------------------------------------------------------------
2.
Input: Download from Line (https://store.line.me/stickershop/product/26105/en)
Output: Compress to .wastickers
Compression Options: Whatsapp

'>' not supported between instances of 'NoneType' and 'int' Traceback (most recent call last):
File "utils\converter.py", line 101, in compress_to_size
File "utils\converter.py", line 270, in convert_generic_anim
File "utils\converter.py", line 313, in convert_generic_anim_pymodule
TypeError: '>' not supported between instances of 'NoneType' and 'int'
2023-01-04 14:57:25
1. 每次出新version時候 github action會下載optipng 但係個網成日出問題 依家換咗由github下載optipng 可以避免到呢個情況
2. Replicate唔到 但係改善咗相關嘅code (攞resolution) 睇下仲有冇呢個問題?

1.7.1: https://github.com/laggykiller/sticker-convert/releases
2023-01-04 20:33:50
新 version 可以正常 convert

但我發覺係 Sticker Maker 本身個app 導出去 imessage 就會唔識郁
我試左佢本身 community 果D sticker 都係咁
2023-01-04 22:21:44
1.7.3可以gen個Xcode project出嚟 俾你sideload去iOS (利申冇試過 但係emulator冇問題) 你試下download嚟玩下

之前唔得可能係因為要set個extension做.png (?)

1.7.3: https://github.com/laggykiller/sticker-convert/releases

2023-01-04 22:25:14
補圖

2023-01-04 22:27:32
支持轉cli
2023-01-04 22:36:21
compress 完最後出依段

Compressed C:\sticker-convert-windows\stickers_input\023.apng -> C:\sticker-convert-windows\stickers_output\023.png successfully (step 0)
Exception in thread Thread-1 (start_process):
Traceback (most recent call last):
File "threading.py", line 1038, in _bootstrap_inner
File "threading.py", line 975, in run
File "gui.py", line 785, in start_process
File "uploaders\xcode_imessage.py", line 53, in create_imessage_xcode
File "utils\metadata_handler.py", line 91, in split_sticker_packs
File "utils\metadata_handler.py", line 13, in get_stickers_present
File "uploaders\xcode_imessage.py", line 18, in __init__
FileNotFoundError: [Errno 2] No such file or directory: 'ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Contents.json'
2023-01-04 23:13:03
唔記得包個submodule

試下1.7.4 https://github.com/laggykiller/sticker-convert/releases
2023-01-04 23:29:23
都係出同一句
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞