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

How to convert export tile Unit16Array into image? #3

Open
YuanTian1991 opened this issue Oct 10, 2021 · 0 comments
Open

How to convert export tile Unit16Array into image? #3

YuanTian1991 opened this issue Oct 10, 2021 · 0 comments

Comments

@YuanTian1991
Copy link

Hi, @jpambrun thanks for your work on this JS script, I am developing an app to convert some JP2 to jpg (eventually to Canvas). I have used your script to successfully convert JP2 to a series of Unit16Array, like below:

image

However, I still don't know how to continue to make these Unit16Array into JPG/PNG, or web displable base64 string. Could you give me some hint about this?

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