jimp-dev / jimp-dev/jimp

Saturation is not that good

Open
#877 1 comment 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
TypeScript
Stars
14.7k
Forks
777
PR merge metrics
No merged PRs in 30d

Description

# Expected Behavior

The saturation makes good results.
![sat70-2](https://user-images.githubusercontent.com/13290261/79634085-a9964180-8168-11ea-98a3-2f50513d7454.png)
(Made with Gimp)

# Current Behavior

The saturation makes no good results.
![sat70](https://user-images.githubusercontent.com/13290261/79634088-b155e600-8168-11ea-90be-4a888a0ba9ad.png)
The colors are quite 'abrupt'.

Original:
![orig](https://user-images.githubusercontent.com/13290261/79634117-db0f0d00-8168-11ea-881c-18671ae4d679.png)

# Failure Information (for bugs)

## Steps to Reproduce

```javascript
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.