I am trying to use ImageMagick to crop photos from NiFi using the ExecuteStreamCommand processor. Below is the code I am using to crop the image from my command line, and it is working fine.
When I am trying to run this in ExecuteStreamCommand I am getting errors though saying "cannot find file specified".
Does anyone know what I am doing wrong or know a better way to crop an image in NiFi?
Provide the path to the file in the Working Directory attribute. You can also try the full path to the file with the filename in the command arguments.