github jimp-dev/jimp v1.1.2

latest releases: v1.6.0, v1.5.0, v1.4.0...
17 days ago

Release Notes

Make brightness function behave like other implementations (#1312)

This PR changes the brightness function to behave like the css brightness function and other implementations. Previously it was doing something odd. Instead of multiplying the color channel by the multiplier value, it multiplied against the inversion of the current color.

In the current version a value of 1 won't change the colors at all. Values above 1 will brighten the colors, values below 1 will darken the colors.


🐛 Bug Fix

Authors: 1

Don't miss a new jimp release

NewReleases is sending notifications on new releases.