GitHub - agruzdev/FreeImageRe: FreeImage Re(surrected) - fork of the FreeImage library to maintain and extend (original) (raw)

FreeImage Re(surrected)

Fork of the FreeImage project in order to support FreeImage library for modern compilers and dependencies versions.

Also small extensions and fixes can be added.

The dynamic library is binary compatible with FreeImage 3.18 and can replace it.

Licensing

Same to the original FreeImage dual license.

All changes are described below in this file.

Python bindings

To import FreeImage python package do the following steps:

import FreeImage as fi

img = fi.load(r"myimage.jpg", fi.JPEG_EXIFROTATE) # Loads as numpy array ...

img, format = fi.loadf(r"myimage.bin") # Returns image and format enum deduced from name or file data ...

import numpy zero = numpy.zeros((128, 128), dtype=numpy.float32) fi.save(fi.FIF_EXR, zero, "zero.exr") # Accepts 2D or 3D numpy arrays ...

What's new

Changes made to FreeImage v3.18:

Version 0.1:

Version 0.2:

Version 0.3:

Version 0.4:

Version 0.5: