aheckmann / gm

GraphicsMagick for node
http://aheckmann.github.com/gm/
6.96k stars 617 forks source link

Issue facing with latest ImageMagick #871

Open contactsmrajesh opened 2 months ago

contactsmrajesh commented 2 months ago

In our application we are using gm as part of smartcrop library, it is working fine with old magick versions(7.1.1-15), but with latest ImageMagick versions(7.1.1-36/7.1.1-38 it is failing with below error,

Error: Stream yields empty buffer at Socket. (C:\smart\smartcrop\node_modules\gm\lib\command.js:57:17) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)