Getting error when trying to crop

Describe the problem/error/question

getting the error “ERROR: Stream yields empty buffer”

I wish this node would…
crop a image for me

Problem in node ‘Edit Image‘

Stream yields empty buffer

What is the error message (if any)?

Error: Stream yields empty buffer
    at Socket.<anonymous> (/www/wwwroot/auto.extreme-mile.com/n8n/node_modules/gm/lib/command.js:56:21)
    at Socket.emit (node:events:525:35)
    at Socket.emit (node:domain:552:15)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.217.2
  • Database ( SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker:
  • Operating system: ubuntu 20.04.05

Hey @Yossi_Yhezkel,

In the template you have not filled out how you are running n8n, I can see Docker has been left there but looking at your error message I suspect that isn’t the case.

My first thought is that you are missing a dependency which shouldn’t be the case on Docker but just incase you are not on Docker can you make sure you have graphicsmagick installed.

3 Likes

worked!!

thank you very much

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.