Mozjpeg on osx
iskrisis opened this issue · 1 comments
iskrisis commented
Hey i can't seem to get this work on osx when i want to test it.
Ive installed current mozjpeg with brew and its in my path working (cjpeg from commandline is working).
c::set('imagekit.mozjpeg.bin', '/usr/local/opt/mozjpeg/bin/cjpeg');
c::set('imagekit.mozjpeg.bin', 'cjpeg');
Doesn't have any effect. It doesn't even fail or give errors it just gives out unoptimized image.
Questions:
- I have mozjpeg 3.2 can it be the problem?
- From docs its not very clear if i have to use ImageMagick or i can use gd. You mention IM several times but i haven't found anything about why its better or that i have to have it.
Thanks!
iskrisis commented
Close this, i got it working.
Can confirm 3.2 brewed version works.