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

Compression value is empty #59

Closed
princejoogie opened this issue Dec 15, 2021 · 1 comment
Closed

Compression value is empty #59

princejoogie opened this issue Dec 15, 2021 · 1 comment

Comments

@princejoogie
Copy link

im getting this error in the image compressor
image

these are the args i pass to the compress function:

      const res = await ImageCompress.compress(img.path, {
        compressionMethod: 'auto',
      });
      setCompressed(res);

what is the "Compression value" that i need to input? where?

@princejoogie
Copy link
Author

just paseed invalid image path

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