Skip to content

Instantly share code, notes, and snippets.

View xu-chris's full-sized avatar
🕳️

Chris Xu xu-chris

🕳️
  • d.vinci HR-Systems
  • Hamburg
View GitHub Profile
@xu-chris
xu-chris / converter.py
Created February 19, 2022 13:31 — forked from Kronopath/converter.py
WeChat audio converter script. See http://kronopath.net/blog/extracting-audio-messages-from-wechat/ for more details.
# WeChat aud file converter to wav files
# Dependencies:
# SILK audio codec decoder (available at https://github.com/gaozehua/SILKCodec)
# ffmpeg
#
# By Gabriel B. Nunes (gabriel@kronopath.net)
# Adapted from another script by Nicodemo Gawronski (nico@deftlinux.net)
#
import os, argparse, subprocess
<?php
/**
* Move this file to /site/tags/ and rename it image.php
*/
/**
* @param array['width'] Width in pixel of the image. When crop/resize active, this is the new image width. Default: null
* @param array['height'] Height in pixel of the image. When crop/resize active, this is the new image height. Default: null
* @param array['alt']