gm
gm copied to clipboard
gm identify: Request did not return an image (node alpine docker)
After switching to an alpine based image in docker, I'm getting this error:
Error: Command failed: gm identify: Unable to open file (/app/gmiv8vvd) [Invalidargument].
gm identify: Request did not return an image.
Posting here in case anyone faced that issue before.
haha. Here is error:
cropImg err: { Error: Command failed: gm identify: Insufficient image data in file (image-temp.jpg).
gm identify: Request did not return an image.
cropImg err: { Error: Command failed: gm identify: Empty input file (image-temp.jpg).
gm identify: Request did not return an image.
cropImg err: { Error: Command failed: gm identify: Not a JPEG file: starts with 0x00 0x00 (image-temp.jpg).
gm identify: Request did not return an image.
I try to crop lots of imgs, don't know how to track the debugger.