Skip to content

Instantly share code, notes, and snippets.

@JackDesBwa
JackDesBwa / mpo2sbs.py
Created January 31, 2020 04:16
Transform MPO stereoscopic images into SBS parallel
#!/usr/bin/env python3
import sys
from PIL import Image
for p in sys.argv[1:]:
path_in = p
path_out = path_in.replace('.mpo', '.sbs.jpg')
imr = Image.open(path_in)