imazen / imageflow

High-performance image manipulation for web servers. Includes imageflow_server, imageflow_tool, and libimageflow
https://docs.imageflow.io/
GNU Affero General Public License v3.0
4.14k stars 140 forks source link

macOS JPG save hangs infinitely #578

Closed hyperknot closed 3 years ago

hyperknot commented 3 years ago

Same command, the jpg one hangs.

imageflow_tool v1/querystring --in 1.png --out out.png --command "format=png"
imageflow_tool v1/querystring --in 1.png --out out.jpg --command "format=jpg"

From: https://github.com/imazen/imageflow/releases/download/v1.5.5-rc59/imageflow-v1.5.5-rc59-d384d92d-osx-x86_64.tar.gz, but same for 1.5.4 as well.

lilith commented 3 years ago

Is this an Apple Silicon device (M1)?

On Sat, Feb 27, 2021, 4:47 AM Zsolt Ero notifications@github.com wrote:

Same command, the jpg one hangs.

imageflow_tool v1/querystring --in 1.png --out out.png --command "format=png" imageflow_tool v1/querystring --in 1.png --out out.jpg --command "format=jpg"

From: https://github.com/imazen/imageflow/releases/download/v1.5.5-rc59/imageflow-v1.5.5-rc59-d384d92d-osx-x86_64.tar.gz, but same for 1.5.4 as well.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/imazen/imageflow/issues/578, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2LH3CJBLEZL7PVM5LNK3TBDLUZANCNFSM4YJ3VRCA .

hyperknot commented 3 years ago

No, Late 2013 Macbook Pro 15.

lilith commented 3 years ago

Are you sure it hangs indefinitely or just runs a really long time? If not it could be a duplicate of https://github.com/imazen/imageflow/issues/576

hyperknot commented 3 years ago

The image was very small, PNG conversion was < 5 sec. I terminated the JPG conversion after like 1 minute. So I don't know if it's really really slow or it'll be there indefinitely. Saving the same image with mozjpeg's cjpeg is also < 5 sec.

lilith commented 3 years ago

Please try v1.5.6-rc60. If the issue persists, please reopen! Thank you!