vseventer / sharp-cli

CLI for sharp.
MIT License
186 stars 20 forks source link

Support Apple M1 laptops: bump sharp to 0.29.1 #61

Closed llllvvuu closed 2 years ago

llllvvuu commented 2 years ago

Fixes https://github.com/lovell/sharp/issues/2460

From https://sharp.pixelplumbing.com/install#apple-m1 :

Prebuilt sharp and libvips binaries are provided for macOS on ARM64 from sharp v0.29.0.

Prebuilt libvips binaries were provided for macOS on ARM64 from sharp v0.28.0.

tonycoco commented 2 years ago

@vseventer bump for M1 users.

transitive-bullshit commented 2 years ago

Why not upgrade sharp to latest v0.30.3?

Locally, this also solves #47 for me (avif support).

tonycoco commented 2 years ago

@transitive-bullshit When this PR was created 0.30.3 didn't exist.

enagorny commented 2 years ago

@vseventer is sharp-cli still supported? With M1 Macs this library can't be used unless latest sharp version is used

vseventer commented 2 years ago

Thanks for the reports - I didn't get around to update this package but will soon. There's still a feature gap between sharp 0.25.4 (the latest release) and 0.30.6 (the targeted release) - but I will address that in a follow-up release.