sejda-pdf / webp-imageio

Java ImageIO WebP support
Apache License 2.0
198 stars 74 forks source link

Arm64 compatible build #24

Open Apprisco opened 2 years ago

Apprisco commented 2 years ago

Could we get an ARM64 compatible build eventually?

gotson commented 2 years ago

For which OS?

If you're looking for Linux, it's available in my fork https://github.com/sejda-pdf/webp-imageio/pull/6#issuecomment-852560921

SamStephens commented 2 years ago

Also for Apple M1 silicon.

gotson commented 2 years ago

You may be interested in https://github.com/gotson/NightMonkeys then 😉

SamStephens commented 2 years ago

Cool project, thanks for sharing it. Unfortunately it's not suitable for my purposes because I'm targeting AWS Lambda, and therefore: the most recent runtime they support is Java 11; I cannot install native packages.

EDIT: in response to the confusion emoji. With Lambda, I can upload a Docker image containing anything I like. But Lambda provides prepackaged runtimes that simplify the development process, as I can ignore the operating system and execution environment and let AWS manage that, only having to worry about the application layer. However there are limitations inherent in that. I don't control the execution environment (this is a strength, because I don't have to expend effort managing it, but also a weakness, because I cannot install packages in it), and I can only use language versions that Lambda provides runtimes for.

In my case, I don't want to give up the simplicity of using the Java execution environment AWS provide. The only problem I'm trying to solve is issues executing unit tests involving this library on my colleagues M1 Macs, and I can solve that in other ways.

davidekholm commented 1 year ago

I'm also interested in support for Apple's M1 architecture. I can't use the Nightmonkey's library as it doesn't write WebP.

gotson commented 1 year ago

You may want to check this out https://github.com/gotson/webp-imageio/pull/1

mcpierce commented 1 year ago

I'm also interested in support for Apple's M1 architecture. I can't use the Nightmonkey's library as it doesn't write WebP.

Same here, but for a different project.