Skip to content

Commit

Permalink
Add initial RLE compression support.
Browse files Browse the repository at this point in the history
Add ZFP as a submodule.
  • Loading branch information
Syoyo Fujita authored and Syoyo Fujita committed May 1, 2016
1 parent d694d54 commit a645042
Show file tree
Hide file tree
Showing 4 changed files with 438 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "deps/ZFP"]
path = deps/ZFP
url = https://github.com/LLNL/ZFP.git
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,25 @@ See `example/deepview` for actual usage.

![DeepViewExample](https://github.com/syoyo/tinyexr/blob/master/examples/deepview/deepview_screencast.gif?raw=true)

## TinyEXR extension

### ZFP

TinyEXR adds ZFP compression as an experimemtal support(Linux and MacOSX only).


$ git submodule update --init

Then build ZFP

$ cd dep/ZFP
$ mkdir -p lib # Create `lib` directory if not exist
$ make

Set `1` to TINYEXT_USE_ZFP define in `tinyexr.h`

Build your app with linking `deps/ZFP/lib/libzfp.a`

## TODO

Contribution is welcome!
Expand Down
1 change: 1 addition & 0 deletions deps/ZFP
Submodule ZFP added at a26be7
Loading

0 comments on commit a645042

Please sign in to comment.