K
Kannan
Hi,
Does someone know of any java api's libraries for image compression. I
am not looking for compression into zip. For example a gif file is much
smaller than a jpg file (this is because some information about editing
the page is lost in gif file).
Basically the image file is available as a byte stream (InputStream). I
want to compress the bytes and store image into a database. The image
will be only read from db and noone will be editing the image (which
means that it is okay to loose editing information while compression).
Are there any APIs for this?
Does someone know of any java api's libraries for image compression. I
am not looking for compression into zip. For example a gif file is much
smaller than a jpg file (this is because some information about editing
the page is lost in gif file).
Basically the image file is available as a byte stream (InputStream). I
want to compress the bytes and store image into a database. The image
will be only read from db and noone will be editing the image (which
means that it is okay to loose editing information while compression).
Are there any APIs for this?