We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm using sharp for add markers on image and this part take 3-4 seconds.
sharp
I found that too slow, Do you have an improvement for reduce this time.
const image = sharp(input); const composites = positions.map((item) => { return { input: item.number ? getTaskPin(item.number) : getPointer(), top: item.x, left: item.y, }; }); return image .metadata() .then(function (metadata) { const orientation = isLandscape(metadata.width, metadata.height); return image .composite(composites) .rotate(orientation ? 90 : 0) .sharpen() .jpeg() .toBuffer(); });
The text was updated successfully, but these errors were encountered:
Hi, did you see #2286 ?
Sorry, something went wrong.
No branches or pull requests
Hi, I'm using
sharp
for add markers on image and this part take 3-4 seconds.I found that too slow, Do you have an improvement for reduce this time.
The text was updated successfully, but these errors were encountered: