Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BMP file size wrongly increased #195

Open
Foxtrot- opened this issue May 22, 2023 · 0 comments
Open

BMP file size wrongly increased #195

Foxtrot- opened this issue May 22, 2023 · 0 comments

Comments

@Foxtrot-
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant