-
HI folks.
this snipped is applied to different types of images, but it significantly reduces the size of the resulted file. Any explanations and propositions are welcome. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
I would advise you to use the |
Beta Was this translation helpful? Give feedback.
-
But the point is that I don't want to compress file.
the size is 41.4 KB (42,441 bytes) I just opened it and saved. The size is significantly reduced. |
Beta Was this translation helpful? Give feedback.
-
For a gif you should use |
Beta Was this translation helpful? Give feedback.
As I said in my earlier comment this is expected behavior. When the image is being read the pixels are decompressed and when the image is being written those pixels will be compressed again. This means that the file can be either smaller or larger. That will always happen with this library and cannot be avoided.