Closed badboy-tian closed 7 months ago
There's quite a lot going on here, please can you provide a more minimal code sample, perhaps as a standalone repo that allows someone else to reproduce.
@lovell https://github.com/adrsch/slider-captcha please look this.
@badboy-tian It looks like you've provided a link to a third-party repo that was last updated over a year ago. This is not enough to allow someone else to easily reproduce the problem you describe.
There is an existing problem reported against the same downstream repo at https://github.com/adrsch/slider-captcha/issues/12 which you appear to have commented on in 2021.
There's nothing I can do until someone else does the work to isolate that problem. Ideally this will be a static SVG file, without any other logic, that renders in a way that is not expected.
@lovell thank you. it is my fault
Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?
npm install sharp
completes without error.node -e "require('sharp')"
completes without error.If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?
sharp
as reported bynpm view sharp dist-tags.latest
.If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of
sharp
that is not the latest, please open an issue against that package instead.What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?What are the steps to reproduce?
in sharp 0.25.4 work nice, but in 0.33.3, the slide is empty, no color
What is the expected behaviour?
the slider has color.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
create.js
generate.js
use:
Please provide sample image(s) that help explain this problem
c4.jpg the right slider is but in last version, the slider is empty