Lovell Fuller

Results 604 comments of Lovell Fuller

Hi, does replacing `.toColourspace('b-w')` with `.toColourspace('grey16')` work?

Were you able to make any progress with this? If not, are you able to provide sample input image(s) that allow someone else to reproduce.

I think this is covered by #1323, which includes a possible workaround in comment https://github.com/lovell/sharp/issues/1323#issuecomment-812041129

Let's continue to track this at #1323

Hi, yes, this is a good idea. It might be as simple as a shell script that assumes the presence of `docker`, spins up a container and invokes commands within...

It looks like you're using x64 macOS at install time but ARM64 musl-based Linux at runtime. As suggested in the possible solutions in the error message, you can specify the...

You'll probably need to add `node_modules` to `.dockerignore`.

Commit https://github.com/lovell/sharp/commit/953a94885bf4b99ae537728ac9d5d4637df67a8a adds a `Dockerfile` and small shell script to install dependencies, build sharp for the current branch then run the performance tests. I'll use this next time I update...

Did you see the [composite](https://sharp.pixelplumbing.com/api-composite) operation? You can use it to layer an image containing a single colour with alpha over or under another image.

Thank you for the extra context, I had misunderstood the original question, apologies. The `ifthenelse` operation in libvips is not yet exposed in sharp but would make a good addition...