I’m sorry for the long post, but if you have the knowledge to help it would be very much appreciated.
I was hoping to be able to interact with the pixel data in a web worker. In a way something like this:
The *.bpg file would be downloaded as binary data on the worker thread.
The binary data would be passed in to the bpg decoder, the decoder would convert the binary data into the final image data that would normally be written to a canvas. However instead that image data would remain accessible in the worker to be manipulated more.
For performance reasons I didn’t want to make the jump of having to render the data on a canvas in the main ui, pull it back out and send it back to the worker.
I did find it, but being that the code had been minified before I found it difficult editing it enough to do what I described above.
Please let me know if anyone knows how to set this up or has any suggestions.