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:
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?
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:
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?