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?
