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

small mistake in file compressImageAngular/src/app/image-compress/image-compress.component.ts #10

Open
gabibianconi opened this issue Nov 9, 2020 · 1 comment

Comments

@gabibianconi
Copy link

Line 54

current code:
const imageFile = new File([result], imageName, { type: 'image/jpeg' });

fixed code:
const imageFile = new File([imageBlob], imageName, { type: 'image/jpeg' });

@kishore-konnectbox
Copy link

Line 54

current code: const imageFile = new File([result], imageName, { type: 'image/jpeg' });

fixed code: const imageFile = new File([imageBlob], imageName, { type: 'image/jpeg' });

Correct Solution

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

2 participants