Simple Go JPEG MPO (Multi Picture Object) Decoder - Library and CLI Tool
The library and CLI tool contain the ability to convert MPO to Stereoscopic JPEG as well as various color combinations of Analglyph.
A Web UI for this library exists here:
https://donatstudios.com/MPO-to-JPEG-Stereo
Binaries are availible for Darwin (macOS), Linux and Windows on the release page:
https://github.com/donatj/mpo/releases
go install github.com/donatj/mpo/cmd/mpo2img@latest
mpo2img
usage: mpo2img <mpofile>
-format string
Output format [stereo|red-cyan|cyan-red|red-green|green-red] (default "stereo")
-help
Displays this text
-outfile string
Output filename (default "output.jpg")
Todo:
- Optimization
- Add Writer
- Add more control over stereo/anaglyph