/tiff

A Golang TIFF codec for HDRi formats

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

TIFF codec for HDR images

GoDoc

A Golang TIFF codec for HDRi formats. This package is meant to be used with 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 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')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request