Edit Image - Transparent Issues

Hey there,

I am trying to use the edit image, transparent function. I am using a GET request on a PNG image hosted publicly and get the binary image returned and have called it ‘data’.

I am then using the Edit Image node and operation is transparent. The property name is set as data and whatever color I am choosing here, I get an error out so I don’t know if this node operation is actually functioning currently. The other options for the Edit Image node are working fine for me and I am only experiencing issues with the transparent operation.

The error message I am receiving is the following;

TypeError: Cannot read properties of undefined (reading 'forEach')
    at Object.execute (/app/code/node_modules/n8n-nodes-base/dist/nodes/EditImage/EditImage.node.js:956:60)
    at Workflow.runNode (/app/code/node_modules/n8n-workflow/dist/Workflow.js:658:51)
    at /app/code/node_modules/n8n-core/dist/WorkflowExecute.js:585:68
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Is this a known issue or is there something I have not setup correctly? I am using the n8n install via Cloudron but have also tested it via a Docker install and get the same issue.

Thanks!

Hi @stuart,
thanks for reporting the issue, I can reproduce your problem. Here is my sample workflow where Edit image with operation transparent does NOT work.

I have added an internal ticket to resolve the issue. We will let you know when a fix will be released.

1 Like

Thank you! Appreciate you looking into it.

1 Like