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
- Host: GitHub
- URL: https://github.com/mdouchement/tiff
- Owner: mdouchement
- License: bsd-3-clause
- Created: 2018-04-01T04:32:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-05T10:25:40.000Z (over 1 year ago)
- Last Synced: 2025-04-23T21:38:04.989Z (about 1 year ago)
- Topics: codec, dng, golang, golang-library, hdr, hdr-image, tiff
- Language: Go
- Size: 59.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TIFF codec for HDR images
[](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