Skip to content

Instantly share code, notes, and snippets.

View cacilhas's full-sized avatar
💭
It might take a while…

Montegasppα ℭacilhας cacilhas

💭
It might take a while…
View GitHub Profile
@ramalho
ramalho / pmp2jpeg.py
Created November 12, 2017 23:08
Utility to "convert" Sony PMP photo files to JPEG
#!/usr/bin/env python3
"""Extract JPEG files from Sony PMP files"""
import sys
import os
for name in sys.argv[1:]:
print(name, end='->')
with open(name, 'rb') as fp: