You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to discover whether sharp can crop images. It seems sharp has an extract feature that does what I want, but I can't find formal documentation for it. There's also a crop method, which is also not documented.
Have you searched for similar questions?
Yes. Google shows they exist, but there is no formal documentation for either method.
Are you able to provide a minimal, standalone code sample that demonstrates this question?
N/A
Are you able to provide a sample image that helps explain the question?
N/A
The text was updated successfully, but these errors were encountered:
It appears that extract is documented under "resizing," which strikes me as counter-intuitive. I only found that by searching the repo, and then working backward to the web docs.
Ahead of full support for documentation search, I added some quick, rudimentary keyword-based searching to https://sharp.pixelplumbing.com/ - for example you can now search for the term "crop" and find details for extract().
What are you trying to achieve?
I'm trying to discover whether sharp can crop images. It seems sharp has an
extract
feature that does what I want, but I can't find formal documentation for it. There's also acrop
method, which is also not documented.Have you searched for similar questions?
Yes. Google shows they exist, but there is no formal documentation for either method.
Are you able to provide a minimal, standalone code sample that demonstrates this question?
N/A
Are you able to provide a sample image that helps explain the question?
N/A
The text was updated successfully, but these errors were encountered: