Hi!
Is it possible to set the dpi of an image generated by the Edit Image node?
Thank you!
Hi!
Is it possible to set the dpi of an image generated by the Edit Image node?
Thank you!
It looks like your topic is missing some important information. Could you provide the following if applicable.
Hi @Temco, dots per inch isn’t a value universally used by many image formats. Some formats will just store the resolution instead. Even for formats that technically support a dpi value (like PNG which stores pixels per unit in the pHYs
chunk) decoders might not implement it. This regularly causes confusion outside of the n8n world as well.
So my suggestion would be to avoid relying on this option and instead go for the Resize operation.
That said, to answer your question, n8n’s Edit Image does not support setting a DPI value directly. Depending on how you have deployed n8n you could, however, consider calling ImageMagick through n8n’s Execute Command node and pass on the respective option: ImageMagick – Command-line Options.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.