https://github.com/donatj/mpo
JPEG-MPO Decoder / Converter Library and CLI Tool
https://github.com/donatj/mpo
decoder go jpeg-mpo mpo multi-picture
Last synced: 12 days ago
JSON representation
JPEG-MPO Decoder / Converter Library and CLI Tool
- Host: GitHub
- URL: https://github.com/donatj/mpo
- Owner: donatj
- License: mit
- Created: 2015-04-14T22:37:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-04-22T15:25:31.000Z (12 days ago)
- Last Synced: 2025-04-22T16:43:00.430Z (12 days ago)
- Topics: decoder, go, jpeg-mpo, mpo, multi-picture
- Language: Go
- Homepage: https://donatstudios.com/MPO-to-JPEG-Stereo
- Size: 27.3 KB
- Stars: 19
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-go - mpo - Decoder and conversion tool for MPO 3D Photos. (Images / Search and Analytic Databases)
- awesome-go - mpo - JPEG-MPO Decoder / Converter Library and CLI Tool - ★ 4 (Images)
- awesome-go-extra - mpo - MPO Decoder / Converter Library and CLI Tool|9|4|1|2015-04-14T22:37:59Z|2020-06-18T16:55:56Z| (Images / Advanced Console UIs)
- awesome-go-zh - mpo
README
# MPO Decoder Library
[](https://goreportcard.com/report/donatj/mpo)
[](https://godoc.org/github.com/donatj/mpo)
[](https://github.com/avelino/awesome-go)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
## Install CLI Tool
Binaries are availible for Darwin (macOS), Linux and Windows on the release page:
https://github.com/donatj/mpo/releases
### From Source
```bash
go install github.com/donatj/mpo/cmd/mpo2img@latest
```## CLI Usage
```
mpo2img
usage: mpo2img
-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")
```## WIP
Todo:
- Optimization
- Add Writer
- Add more control over stereo/anaglyph