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

https://github.com/mdouchement/tiff

A Golang TIFF codec for HDRi formats
https://github.com/mdouchement/tiff

codec dng golang golang-library hdr hdr-image tiff

Last synced: 11 months ago
JSON representation

A Golang TIFF codec for HDRi formats

Awesome Lists containing this project

README

          

# TIFF codec for HDR images

[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/mdouchement/tiff)

A Golang TIFF codec for HDRi formats. This package is meant to be used with [mdouchement/hdr](https://github.com/mdouchement/hdr).

- Only decoder is implemented.
- A subset of **DNG** (Digital Negative) is supported. _There still missing parts in the basic processing workflow._

## Photometric Interpretation

- RGB - 32 bit floating point
- LogL - Luminance GrayScale (LogLuv without u & v parts)
- LogLuv - True colors (32 bits only. No support of 24 bits at the moment)
- CFA - Color Filter Array

## Compression

- None (Uncompressed)
- LZW
- Deflate (old and new)
- PackBits
- SGI Log RLE

## Architecture

| Object | Description |
|:-------:|---------------------|
| reader | Decodes the image |
| decoder | Decodes the raster |
| idf | Parses the header |
| tag | Parses tag's values |

## License

**BSD-style**

This package carries the same license as Golang's [image/tiff](https://github.com/golang/image/tree/master/tiff) package. Because all this package's skeleton and some piece of code come from the `image/tiff` package.

## Contributing

All PRs are welcome.

1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
5. Push to the branch (git push origin my-new-feature)
6. Create new Pull Request