Skip to content

Commit 3cd7a87

Browse files
authored
Add readme.
1 parent 7c07873 commit 3cd7a87

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# OpenEXR.jl
2+
Saving and loading of OpenEXR files.
3+
4+
Basic usage:
5+
```jl
6+
using OpenEXR
7+
8+
# read an EXR file into an `Array{RGBA{Float16},2}`.
9+
myimage = OpenEXR.load(File{DataFormat{:EXR}}("myimage.exr"))
10+
11+
# save an image to an EXR file
12+
OpenEXR.save(File{DataFormat{:EXR}}("myimage2.exr"), myimage)
13+
```
14+
15+
TODO: get this registered with [FileIO](https://github.com/JuliaIO/FileIO.jl).

0 commit comments

Comments
 (0)