Skip to content

Stream support + Cancellable works (nodeJS api) #3278

@KevLehman

Description

@KevLehman

Is your feature request related to a problem? Please describe.

Currently, the only way for using images is to pass a buffer, if the app is handling the files as streams this forces the app to consume it and create a buffer with it and then pass around.
Additionally, if you start processing a PDF (renderToStream for example) and somehow the process gets stuck, then the whole process that run the action must be killed as it halts.

Describe the solution you'd like

  • Streaming support for images
  • Cancellable (with abortcontroller, or timeouts) processing

Additional context
Thanks for the work! :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions