- Improved behavior when converting between different
Image
formats:- Added
Gray16
type to differentiate fromUInt16
with raw integer values. Images loaded from file with 16-bit values will useGray16
as this is how FreeImage interprets the values. - Avoid using FreeImage image conversion functions when it could cause floating-point values to be clamped.
- Added ability to choose whether to use grayscale conversion or just the first channel for
convert()
andsetPixel()
. sRGB color space is also now respected for grayscale conversion.
- Added
- With above
Image
conversion improvements, command-line tool will no longer lose HDR image values (i.e. floating-point values outside the range [0, 1]) when converting single-channel float or RGB images. - Updated astc-encoder to 5.0.0.
- Updated GLM to 1.0.1.
Binaries are provided for the following platforms:
- Linux (glibc 2.31 or later) (x86-64) (e.g. Ubuntu 20.04)
- macOS 10.14 or later (x86-64/arm64 universal binary)
- Windows (VS 2017 runtime) (x86 and x86_64) Each has two separate artifacts:
- "full" release, which includes the debug and release libraries that may be linked to by other applications. This will require the Visual Studio redistributable to be installed.
- "tool" release, which includes only the tool. It is statically linked and uses the static runtime, which means it will run without the Visual Studio redistributable installed.
Note: When using the pre-built binaries on Mac you may need to allow execution of the executable and libraries under the "Security & Privacy" control panel. You may also add specific apps (such as Terminal) to the "Developer Tools" option in the "Privacy" section to allow running unsigned code without prompts.