Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: Pryzmera – Fast PDF viewer fully rendering on the GPU (opens external site)

169 points by RedMindZ 2 days ago pryzmera.com 69 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (1)

  1. Pryzmera doesn't use anything special to render JPEG2000 or any other type of image. It decompresses all images at their full resolution, packs them into as many texture atlases as necessary (1 is usually sufficient), and renders them with textured triangles. Hence, rendering performance is independent of the image types used in the document.

    The video on the website that showcases the "Image Viewer" capabilities is rendering an image with a resolution of 63360x35640 (that is 2.2 billion pixels, or 9GB uncompressed) on my 8GB VRAM GPU at about 1100-1200 FPS, bottlenecked by the CPU. Images have a near-zero impact on rendering performance, so Pryzmera should handle your JPEG2000 documents well.