is there a way to compress a file size of an image in Spring?
I'm trying to do it using javax.imageio.* API, sadly my image data is rendered as byte and FileImageOutputStream which handles the image to be compressed needs a File object. I don't know how will i cast this.
Is there a less hassle way to do this?Pls Help