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

JIC error #53

Open
shahz5678 opened this issue Aug 16, 2017 · 2 comments
Open

JIC error #53

shahz5678 opened this issue Aug 16, 2017 · 2 comments

Comments

@shahz5678
Copy link

shahz5678 commented Aug 16, 2017

Hey after reading your answer on SO I tried using JIC but I am currently getting the following error when I select a file which should get compressed;

(index):109 Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'

I have also left a question related to this problem here

Any advice on why I am getting such an error. I am actually quite new to JS itself hence I am a bit slow in error handling.

@Gab0o777
Copy link

Sounds to me like you're not using an image element but rather just some variable with the source value, can you provide a code example so we can check the error? without the actual code that's all I can tell you.

@Roeefl
Copy link

Roeefl commented Nov 14, 2017

Solved?

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

3 participants