https://github.com/afichet/openexr-converter
Tools for converting TIFF to OpenEXR and OpenEXR to PNG
https://github.com/afichet/openexr-converter
converter image openexr png tiff
Last synced: 8 months ago
JSON representation
Tools for converting TIFF to OpenEXR and OpenEXR to PNG
- Host: GitHub
- URL: https://github.com/afichet/openexr-converter
- Owner: afichet
- License: mit
- Created: 2017-10-12T17:44:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-21T13:27:13.000Z (over 2 years ago)
- Last Synced: 2024-12-18T11:13:26.480Z (10 months ago)
- Topics: converter, image, openexr, png, tiff
- Language: C++
- Homepage:
- Size: 38.1 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Warning!
========This repository is currently not maintained and after knowing much better the OpenEXR format, there is a lot of missing features that shall have been supported:
- No support for displayWindow
- No support for chromaticitiesIf you want to use the proper tool, I recommend using OpenImageIO tools: https://openimageio.readthedocs.io/en/v2.2.15.1/oiiotool.html
So, take this repo with a grain of salt, an example on how to read OpenEXR images using the OpenEXR library, not as the state of the art.
OpenEXR converter
=================These tools are simple utilities to convert images files from OpenEXR to PNG 8bit sRGB files and TIFF to OpenEXR.
Checking out the repository
===========================```
git clone git@github.com:yama-chan/openexr-converter.git
git submodule update --init --recursive
```Compilation
===========Dependencies
------------
You need to install OpenEXR to compile the tool:
* libopenexr
* libtiff### Ubuntu 16.04 LTS
```
sudo apt install libopenexr-dev libtiff5-dev
```### Arch Linux
```
sudo pacman -S openexr libtiff
```### Compilation
In order to compile in a folder build the tool, do:```
mkdir build
cd build
cmake ..
make
```After compilation,
* `exr-png` will be created in `src/exr-png` folder.
* `tiff-exr` will be created in `src/tiff-exr` folder.To install, do:
```
sudo make install
```Usage
=====OpenEXR to PNG
--------------```
exr-png [-g ] [-a] -o -i [--] [--version]
[-h]
```Where:
```
-g , --gamma
Set the gamma correction (default sRGB)-a, --ignore-alpha
Ignore alpha channel-o , --output
(required) Set file to save to-i , --input
(required) Set file to convert--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.--version
Displays version information and exits.-h, --help
Displays usage information and exits.
```TIFF to OpenEXR
---------------```
tiff-exr
```