On 2026-11-23 01:13, Nuno Silva wrote:
> On 2026-11-16, Rich wrote:
>
>> Andy Burns <usen…@andyburns.uk> wrote:
>>> "Carlos E.R." wrote:
>>>
>>>> How do you handle conversion to djvu in Linux? I have found few people
>>>> that use this format.
>>>
>>> I can see that at one time, DjVu would have had advantages over Pdf, is
>>> that still true, especially with Pdf/A ?
>>
>> For file size, and monochrome images, djvu will most often be much
>> smaller than the same monochrome PDF.
>
>
> I'd argue they're not for the same purpose, I'd use DjVu for *scanned*
> documents and PDF for, well, "vectorial" documents, so to speak.
>
> And, at scanned ones, DjVu can indeed excel. Depends on the kind of
> input and on whether the tools can actually achieve a good compression
> for the input.
>
> Some commercial scanners encode scanned documents using layered images
> of differing qualities in PDF (or at least that's one of the approaches
> I've seen), and maybe when *that* is used you get more competitive small
> file sizes.
>
>> But as most others won't have a djvu reader installed, it is not a
>> great "interchange" format unless you already know the receiver is
>> capable of reading the file.
>
> Maybe we need a djvu.js counterpart to pdf.js :-D
>
> Thankfully, at least some of the standalone PDF viewers can also do
> DjVu. At one point, a convenient way to add one to Windows NT was to
> grab Evince.
>
One problem with DjVu is that, for instance, gimp doesn't support it. Neither does LibreOffice. I save scanned documents to both jpg and djvu, and djvu is often better. But then, can not put the photo in a LO document.
Years ago, I knew that they had developed commercial DjVu creation softwre for Windows, automating the conversion to DjVu, supposedly choosing the best settings automatically. The Linux tools are "too manual".
--
Cheers, Carlos.
ES🇪🇸, EU🇪🇺;