Skip to content

Support for rendering #3

Description

@maxkferg

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions