Lovell Fuller

Results 604 comments of Lovell Fuller

Improved via commit https://github.com/lovell/sharp/commit/55c4d8807c231bf031ec72ca1bd42a304f9b8776 available in v0.31.0.

The prebuilt binaries provided by sharp now use libspng for reading PNG files, which makes https://github.com/randy408/libspng/issues/4 relevant here. Implementing this in a PR for https://github.com/randy408/libspng or making a donation to...

Hi, did you see the [clahe](https://sharp.pixelplumbing.com/api-operation#clahe) and [normalise](https://sharp.pixelplumbing.com/api-operation#normalise) operations?

Perhaps try using CLAHE with a smaller local region. https://en.wikipedia.org/wiki/Adaptive_histogram_equalization For example using the following code with the above input: ```js sharp(input) .clahe({ width: 21, height: 21 }) .normalise() ......

The `normalise` operation will already have spread luminosity over the full range, so if you *always* want it to be brighter you'll need to use [modulate](https://sharp.pixelplumbing.com/api-operation#modulate) and pass either `lightness`...

Let's track this at #200, which is about improving `normalise` and should help with this kind of scenario.

Hello, although libvips provides some "flood fill" features, they are not yet exposed in sharp. I'll tag this as a future possible enhancement. For now your best bet is to...

As you've seen, you'll currently need to break this operation into two pipelines - see #1922, #2086 and related issues. This has come up a few times, and I've been...

Commit https://github.com/lovell/sharp/commit/212a6e7519413e69d6eb2e875ca750b5f76771b0 improves the situation slightly, adding examples and test cases, as well as emitting warnings when previous calls in the same pipeline will be ignored. This will be in...