Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to stream image #2

Closed
joeserg opened this issue Jan 19, 2016 · 1 comment
Closed

Option to stream image #2

joeserg opened this issue Jan 19, 2016 · 1 comment

Comments

@joeserg
Copy link

joeserg commented Jan 19, 2016

Hi there,

I was wondering if we could have the option to stream the image to the browser, rather than saving it to disk?

In my application I would like to show a thumbnail of a dynamically generated PDF, so the image is only relevant for that particular request.

@freekmurze
Copy link
Member

I'd accept a PR that adds a getImageData-function to the package. The function should contain some of the code currently present in saveImage. saveImage should use the new getImageData-function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants