News for hackers. Stuff that matters.
Re:Acrobat is intrusive, slow and non-customizable by mgt19937 on Thursday October 16, 2025 @01:37AM (#45601785)
There is a pure rust library for rendering pdfs to png(or bitmap) and svg: https://github.com/LaurenzV/hayro. It is used by typst for pdf image[1]. Although it might not be as mature as mupdf.

[1]: https://github.com/typst/typst/pull/6623

Re:Acrobat is intrusive, slow and non-customizable by vincent-uden on Thursday October 16, 2025 @01:48AM (#45601845)
You right! It's been over a year since I evaluated hayro and sadly the performance wasn't good enough yet for a 60 fps render.

I actually chatted for a bit with Laurenz (the developer) and he recommended against using hayro in my case for the time being.

It is however part of (or dependent on) the larger linebender group of crates and will most likely be the best option in the future.

Re:Acrobat is intrusive, slow and non-customizable by mgt19937 on Thursday October 16, 2025 @11:46AM (#45606849)
Thank you for the information!