• stared 5 hours ago

    Oh, my favourite format during my undergraduate time! Most books in mathematics and physics (some old and niche) were available in the "Russian library".

    At the same time, I haven't yet seen DjVu used in a legit way.

    • cxr 5 hours ago

      Licensing concerns resulted in DjVu being originally preferred over PDF by archive.org and WMF projects like Wikipedia. With baseline PDF now being unencumbered and the widespread existence of FOSS readers, PDF is both the de jure and de facto standard across even those sites.

      • gwern 2 hours ago

        Also, PDF caught up on size with JBIG2, and tooling/support keeps getting worse.

        (Not so fun fact: if you punch "filetype:djvu" into Google right now, you can easily page through what supposedly is every DjVu file on the Internet as far as Google knows, which is not many: "In order to show you the most relevant results, we have omitted some entries very similar to the 300 already displayed." I learned this the hard way when I began wondering why a bunch of DjVu fulltexts I hosted never seemed to show up in Google or Google Scholar...)

      • Rochus an hour ago

        I'm usign DJVU files every day. It's just a great format. I have a lot of archived documents which are much faster to use and require much less space than equivalent PDF documents.

      • qdotme 7 hours ago

        Another reason why I think it failed (TIL Yann LeCun was the coauthor) is the connotation with the pirate books/articles community.

        When I came across this format in college days, when handling lots of scanned material, it always triggered the mental “don’t install suspicious software” block. Which is a shame as the article points out it was the superior format.

        • joecool1029 4 hours ago

          Really hate that archive abandoned it. djvu files are much smaller, faster, and high quality than pdf. Real reason for abandoning it was probably to allow for the DRM needed for controlled access lending, because it’s a garbage choice otherwise.

          • nico_h 7 hours ago

            I don’t know how relevant the samples are, but while the details are lost, the essence seems well preserved. It seems it would be really useful for performing OCR on.

            • qingcharles 4 hours ago

              Ironically, because of poor software support and lack of knowledge about the format, most DjVus are slowly being converted to PDFs.

              • EvanAnderson 2 hours ago

                A court in my local government has been using a document imaging system since the early 2000's. It stored documents as DjVu files until a couple of years ago when the vendor re-encoded all the documents as PDF to comply with mandates for file storage format from my state Supreme Court. It made me really sad.

                • anthk 4 hours ago

                  Djvu/djview it's libre software with open standards. The issue of "lack of knowledge" it's a bit bullshit.

                  • MrDrMcCoy 2 hours ago

                    So, I love DjVu and think it's a superior format to PDF. _Consuming_ DjVu is easy, but when was the last time you interacted with the tools to _create_ them? I can say from direct experience that they are awful.

                    • anthk 2 hours ago

                      GhostScript should have shipped DjVU drivers by default long ago.

                • vee-kay 2 hours ago

                  DjVu is excellent format for e-Comics and e-Magazines.

                  Check out the Amazing Science Fiction Stories, Amazing Stories, Planet Stories, Weird Tales and more.. in DjVu format: https://commons.wikimedia.org/wiki/Category:Scanned_English_...

                  • aidenn0 an hour ago

                    Note that PDF :

                    1. Supports JPEG2000 compression, which is very similar to what DjVu uses for images

                    2. Supports JPEGs compressed with jpegli which is competitive with DjVu at higher quality settings

                    3. Supports JBIG2 for bi-level images, which is very similar to what DjVu uses for bi-level layers.

                    • rahimnathwani 30 minutes ago

                      Right, if you look at PDF files from Internet Archive, they're usually compressed with MRC (Mixed Raster Content).

                      IIRC each page has three layers:

                      - background (jpeg, color)

                      - foreground (jbig2, monochrome maybe?)

                      - mask (indicating whether foreground or background should be shown at this point)

                      https://github.com/internetarchive/archive-pdf-tools