jimp-dev/jimp

Saturation is not that good

Open

#877 geöffnet am 18. Apr. 2020

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (13.218 Stars) (785 Forks)batch import
bughelp wanted

Beschreibung

Expected Behavior

The saturation makes good results. sat70-2 (Made with Gimp)

Current Behavior

The saturation makes no good results. sat70 The colors are quite 'abrupt'.

Original: orig

Failure Information (for bugs)

Steps to Reproduce

        jimp.read(Buffer.concat(buffers), (error, value) => {
            value.color([{apply:"saturate",params:[-70]}],console.log)
            value.write("a.png")
        });

Context

  • Jimp Version: 0.10.2
  • Operating System: Kubuntu
  • Node version: 10.16.0

Failure Logs

Contributor Guide