Watermark Images in java using ImageMagick
Posted: 2019-04-16T02:15:38-07:00
I'm trying to watermark images in java using "ImageMagic's" shell command, passing it java's process builder. This is successfully generating the watermarked image and the output image is getting stored in my repository from where I'm doing the further processing.
But I need to implement a workflow in which I take the images as input, watermark them and without storing the watermarked output, I need to stream the images as output on the webpage, so is there a way by which I can make the watermarked output displayable on webpage; basically by collecting the output response from imagemagick and doing the further processing using java (which I'm aware of), but the important thing is if it's possible to collect the watermarked output as response from ImageMagick without storing it.
Any help on this would be held in high regards.
Thanks
But I need to implement a workflow in which I take the images as input, watermark them and without storing the watermarked output, I need to stream the images as output on the webpage, so is there a way by which I can make the watermarked output displayable on webpage; basically by collecting the output response from imagemagick and doing the further processing using java (which I'm aware of), but the important thing is if it's possible to collect the watermarked output as response from ImageMagick without storing it.
Any help on this would be held in high regards.
Thanks