Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

imwrite() always increases the size of the PNG image.

I am trying to do operations on the image. 1. Resizing and decreasing its dimensions 2. Converting a JPEG image to PNG. In both the cases the final image is larger than the original imgae.How can I fix it?I m using java