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

Calling decode() synchronously #6

Open
pfeatherstone opened this issue Jun 24, 2020 · 1 comment
Open

Calling decode() synchronously #6

pfeatherstone opened this issue Jun 24, 2020 · 1 comment

Comments

@pfeatherstone
Copy link

Is there a way of calling decode() with a synchronous API, like you did with the original jpeg-asm repository?
I'm having issues with the original repo because of the import command:

import jpegasm from 'jpeg-asm'

failing with error:

Uncaught TypeError: r.cwrap is not a function

I posted an issue here gchudnov/jpeg-asm#2 but then noticed that you created this repository and it looks like you've fixed the error here.
My only issue now is that this repo looses the synchronous API.

@gchudnov
Copy link
Owner

sorry for delay in response.
yes, got the problem, will take a look.
guess it might be worth to refresh the build.

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