Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

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: 24 days ago
JSON representation

JPEG-MPO Decoder / Converter Library and CLI Tool

Lists

README

        

# MPO Decoder Library

[![Go Report Card](https://goreportcard.com/badge/donatj/mpo)](https://goreportcard.com/report/donatj/mpo)
[![GoDoc](https://godoc.org/github.com/donatj/mpo?status.svg)](https://godoc.org/github.com/donatj/mpo)
[![awesome-go](https://img.shielded.dev/s?title=listed%20on&text=awesome-go&color=blue)](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