https://github.com/kenpusney/wx-image-decoder
https://github.com/kenpusney/wx-image-decoder
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kenpusney/wx-image-decoder
- Owner: kenpusney
- Created: 2021-10-11T19:59:23.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-12T02:30:58.000Z (about 4 years ago)
- Last Synced: 2025-04-05T02:41:18.433Z (9 months ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wechat Image Decoder
Wechat encodes chatting image files into `*.dat` files. You can simply decode them to their original format by detecting the encoding key and target format.
All encoded files located under following directories:
```
//FileStorage/Image/
```
You can use `os.chdir()` to locate the folder, then run the scripts.
Usually there will be few formats:
- Regular `jpg` and `png` files: decoded images.
- `..dec` files: corrupted files, trying to decode using detected key.
- `wxgf` files: suspecious WeChat private format, possibly gif emotions.
Please let me know if you discovered more formats.