I am trying a simple example to crop a image into multiple smaller images. Instead of creating the output files on disk (output file) I want to have it in OutputStream. I have tried few ways of doing the same but not successful. Any help will be benificial. Thanks for helping. String imPath="C:/Program Files/ImageMagick-7.0.10-Q16-HDRI"; ConvertCmd cmd = new ConvertCmd(); cmd.setSearchPath(imPath); ByteArrayOutputStream os = new ByteArrayOutputStream(); Pipe pipeOut = new Pipe(null, os); ArrayListOutputConsumer...