R – Open source (under the MIT licence) library for loading and saving image files?


I am writing an imaging library (using the MIT licence) and would like to hook it up to a library that supports loading and saving of images in various file formats (bmp, png, jpg etc)
I am aware of FreeImage, but it appears to use a GPL licence. Is there anything out there similar to FreeImage that uses MIT rather than GPL ?

Best Solution

Well, just so you know, there's also DevIL and it is under the LGPL.