News for hackers. Stuff that matters.
Re:The story of the PDF (2018) by hyiltiz on Sunday November 01, 2020 @12:15AM (#24957177)
It is a pity that DjVu[0] wasn't even mentioned; an open format that was superior to PDF in many ways[1], including better optimization, efficient storage.

[0] http://djvu.org/ [1] https://en.wikipedia.org/wiki/DjVu

Re:The story of the PDF (2018) by msla on Sunday November 01, 2020 @01:02AM (#24957350)
DjVu is a great format for scanned images, which is its primary use-case, but I'm not seeing where you can have actual, selectable text in a DjVu document, like you can with PDF and PostScript. It seems like it's all images.
Re:The story of the PDF (2018) by jwilk on Sunday November 01, 2020 @04:30AM (#24958298)
> 3.3.2 Hidden text

> Every DjVu image optionally includes a hidden text layer that associated graphical features with the corresponding text. The hidden text layer is usually generated by running Optical Character Recognition software. This textual information provides for indexing DjVu documents and copying/pasting text from DjVu page images.

I copied that text from the DjVu spec, which is in the DjVu format.

Re:The story of the PDF (2018) by adrian_b on Sunday November 01, 2020 @04:25AM (#24958276)
I have not read the specification, but the DJVu format must have a way to store the plain text besides the images and that way is frequently used.

I do not remember ever reading a DJVu file that did not allow searching and selecting the text, while PDF files which do not allow those, because they store only the scanned images, are quite frequent.

Re:The story of the PDF (2018) by BelleOfTheBall on Sunday November 01, 2020 @07:40AM (#24959061)
Man, I haven't seen a DjVu file in years. It used to be somewhat common in scans of magazines and other media that relied on images. Pity that it didn't catch on, although I suppose it still could, if some of its benefits were refined. I find that larger PDFs tend to tank optimization, is that a problem for DjVu files at all?
Re:The story of the PDF (2018) by saagarjha on Sunday November 01, 2020 @05:51AM (#24958616)
I don't see how DjVu solves vector graphics, which is a pretty important usecase for PDF.
Re:The story of the PDF (2018) by adamnemecek on Sunday November 01, 2020 @12:31AM (#24957236)
It's crazy that Yann LeCun was involved in the creation.
Re:The story of the PDF (2018) by ar7hur on Sunday November 01, 2020 @02:40AM (#24957842)
Yes, Yann and another machine learning celebrity: Leon Bottou!