You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your solution has been choosed as replacement for pdfjs-dist of node-canvas. However, it does not implement streams (nodejs) as with node canvas : see here.
Implementing streams improves memory consumption and is not slower according to my tests (tested to convert a PDF into an image with/without streams).
Would it be something you could consider?
The text was updated successfully, but these errors were encountered:
Yep, this is possible, but this is like paying 2 times to cost of rendering. canvas.toBuffer(...) already has a cost. If you wrap it inside a stream, it means paying 2 times to cost of rendering. The goal is to use a stream instead of canvas.toBuffer().
Hi.
Your solution has been choosed as replacement for pdfjs-dist of node-canvas. However, it does not implement streams (nodejs) as with node canvas : see here.
Implementing streams improves memory consumption and is not slower according to my tests (tested to convert a PDF into an image with/without streams).
Would it be something you could consider?
The text was updated successfully, but these errors were encountered: