This projects looks great. We are interested in moving it forward, and in particular, adding rendering support. My initial thought was to create a new function in c that renders to a WebAssembly.Memory buffer, using the Pdfium function FPDF_RenderPageBitmap. The implementation would be similar to that createDocFromBuffer in avail.c
In javascript, we could then copy the bytes from WebAssembly.Memory to a canvas element. What are your thoughts on this approach?
This projects looks great. We are interested in moving it forward, and in particular, adding rendering support. My initial thought was to create a new function in c that renders to a WebAssembly.Memory buffer, using the Pdfium function FPDF_RenderPageBitmap. The implementation would be similar to that createDocFromBuffer in avail.c
In javascript, we could then copy the bytes from WebAssembly.Memory to a canvas element. What are your thoughts on this approach?