PhotoSauce icon indicating copy to clipboard operation
PhotoSauce copied to clipboard

Mac native codecs

Open alex-jitbit opened this issue 4 months ago • 2 comments

Would you please include osx binaries too?

I tried to do this myself, since most codecs you use (libgif, libpng etc) offer mac-arm64 versions but got stuck.

alex-jitbit avatar Nov 06 '25 06:11 alex-jitbit

I'm kind of surprised it's taken this long for someone to ask 😄

This isn't something I'm interested in taking on (or maintaining), as I have no Apple hardware to test or troubleshoot on. However, if someone were to work it out with the existing build setup and CI, I wouldn't mind packaging the binaries, provided the MacOS builds were gated on an environment variable or something so that they could be easily disabled if they break on native dependency update.

Unfortunately, even the code-stable older libraries like libpng and libjpeg-turbo have had a ton of build system churn over the last few versions, so I frequently end up having to fix things even when just taking a minor update.

saucecontrol avatar Nov 07 '25 00:11 saucecontrol

Understood. I will try to look into this myself and submit a PR if I come up with something

PS. we run on Linux on production, however most of our team uses Macs and unit-testing your (awesome) library locally we need to spawn docker every time.

alex-jitbit avatar Nov 07 '25 08:11 alex-jitbit