Tool and library to transform a high-dynamic-range image into a low-dynamic-range image, in an automated way, sensitive to human perception.