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
Hey mate great package, I've started using it as a solution for Cloudflare Workers because I couldn't get Sharp to work there because of it's dependencies.
Is there something I am missing with the resize() function to get it to resize from middle out? I guess similar to fit() in PHP's intervention image library where the total image width x height are set and the image is either scaled down from the centre of it to be within those bounds or scaled up to also be within those bounds? Currently it'll just squish the image into the provided dimensions but it can distort the image.
The text was updated successfully, but these errors were encountered:
Hey mate great package, I've started using it as a solution for Cloudflare Workers because I couldn't get Sharp to work there because of it's dependencies.
Is there something I am missing with the resize() function to get it to resize from middle out? I guess similar to fit() in PHP's intervention image library where the total image width x height are set and the image is either scaled down from the centre of it to be within those bounds or scaled up to also be within those bounds? Currently it'll just squish the image into the provided dimensions but it can distort the image.
The text was updated successfully, but these errors were encountered: