Wednesday, June 17, 2015

What image library/format should I use?

I am doing a new batch renderer and need to do image I/O including HDR (with viewer if possible).  Last time I did this it was all image magic and Greg Ward's rgbe code.   What are the cool kids using these days?

8 comments:

friedlinguini said...

The kids might have gotten cooler since the last time I looked, but I believe it's OpenEXR.

Iliyan said...

I've used DevIL in the past. It is simple to use and supports many formats, including HDR formats, and can be compiled into a single big fat binary with no other dependencies. Not sure if it supports the latest OpenEXR spec or if its still "cool" :-)

https://github.com/DentonW/DevIL

Larry said...

All the cool kids (and, almost without exception, all the big VFX and animation studios) use OpenImageIO.

Unknown said...

+1 for OIIO if you need something full featured with an out of core texture system.

If you are looking to minimize dependencies, stb_image is another popular choice (single file header library for C). pbrt-v3 is using this.

https://github.com/nothings/stb/blob/master/stb_image.h

Unknown said...

https://github.com/syoyo/tinyexr is another nice "micro library"

DEADC0DE said...

http://c0de517e.blogspot.ca/2013/07/tiny-hdr-writer.html has also links to other small HDR read/write code

Peter Shirley said...

Thanks much for the suggestions! I am glad I asked. Nick Porcino added a vote for OpenEXR. I'll do some testing and report what I find out.

Unknown said...

Why not Piccante? piccantelib.net