browser-image-compression
browser-image-compression copied to clipboard
BMP file size wrongly increased
Issue
The size of the bmp file is increased up to almost the maxSizeMB value of the options given to the compressor.
Example
Given those options :
const options = {
maxSizeMB: 1,
useWebWorker: true,
maxIteration: 10000,
};
and
a file of 333Ko, we are getting a file of 995Ko as the output of the compressing function.