‹ Post details

Show HN: Pryzmera – Fast PDF viewer fully rendering on the GPU

  • pryzmera.com
  • By RedMindZ
  • 168 points
  • 69 comments

Discussion

Source links

Showing up to 12 top-level comments in Hacker News order.

  1. kphorn
    I love that you built this and wish you luck. I do CAD and hardware engineering and am no stranger to big PDFs. As a benchmark, I have been using PDF XChange editor as it has a few great features that I rely on. - Fast - I was albe to load the stress test in about 15 seconds and can zoom. I looked and task manager doesnt report GPU usage but does show about 2-3% CPU on a 16c23t AMD Zen5 cpu - Annotations - I can do engineering annotations on it - add text, call outs, clouds, etc. A critical feature set for practicing engineers. Civil and landscaping especially have high need for annotations AND large pdfs. - Text editing/modifications - that's also built in so it's a nice addition. - There's plenty of competition: NitroPDF, PDF Xchange and others are probably your primary competition. Adobe is the gorilla but I avoid Adobe at all costs unless there's specifically a DRM'd PDF that requires acrobat with a plugin. I would certainly be interested in the GPU acceleration and getting more out of that.
  2. fnordsensei
    I think this is great. A good example of classic hacker culture: you (or someone nearby) had a problem, and you wrote a solution. Kudos!
  3. maxloh
    What do you use for conformance and regression testing? How much of a real-world PDF test suite can it render accurately? For a PDF viewer, fidelity matters much more than rendering speed. Imagine using it to open CAD PDFs as you suggested, only to realize a few months later that sections of some files silently failed to render, by which point the ship has sailed. Relying on a renderer maintained by a single person or even a small team carries significant risks. There are too many things that can go wrong. For example, pdf.js (which powers Firefox) uses a test suite with 1,579 files and growing: https://github.com/mozilla/pdf.js/tree/master/test/pdfs
  4. mminer237
    It looks very impressive. I mainly use simple PDFs, but Acrobat is indeed frustratingly slow just starting up without even rendering anything. I count six seconds to just open it on my computer without even opening a file. (Versus SumatraPDF, which is well under a single second.) I'm glad people are still trying to make things better. It's a great irony that as computers get faster and faster, software still manages to get slower and slower.
  5. angry_octet
    I stopped caring about fast pdf viewing some time ago. Now I only care about secure parsing and rendering. Signing and signature verification with something other than Acrobat would also be great.
  6. illiac786
    I can’t test it right now but what do you use to render JPEG2000? I work with OCR’d documents stored as searchable pdfs, and the image layer is jpeg2000. Good compression ratio, horribly laggy in most pdf viewer I have used so far.
  7. chaechoi
    This looks great! Any plans to make the renderer available as a package for web apps?
  8. ashkankiani
    You mention mupdf (which is what I use as the basis for my wrapper around it) that you use as the comparison for testing. How does it compare to that? Also on a safety note, are you excluding the exploit vulnerable parts of PDF support?
  9. emmilevesque
    1200x faster PDF rendering than Acrobat is a compelling reason to switch - nice work
  10. Waraqa
    I was excited to learn about your software and to read this discussion. When I opened your website, I didn't expect it to be Windows-only. Do you have plans to release it for other operating systems?
  11. balaji_ingole
    How do you handle text selection and search once everything is triangles on the gpu
  12. ohmyYY
    This looks really cool brother. Best of luck!

Source links