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.
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.
Please note if i don't use Pipe (cmd.setOutputConsumer(pipeOut)) and put op.addImage() all cropped images are created on disk.