On 2026-11-16 09:56, Nuno Silva wrote:
> (And if you end up converting the document to monochrome, it's probably
> worth considering at least comparing with DjVu unless you need it to be
> PDF.)
How do you handle conversion to djvu in Linux? I have found few people that use this format.
I use a script, that basically does this:
C44=c44
PNGTOPNM=pngtopnm
"image/jpeg") $C44 -dpi 240 -slice $SLICE -crcbhalf "$FILE"
"image/png")
$PNGTOPNM "$FILE" > "$NOMBRECMPLTO"pnm
$C44 -dpi $DPI -slice "23+19+17+13+9+7+5+3" -crcbhalf "$NOMBRECMPLTO"pnm
rm "$NOMBRECMPLTO"pnm
(I do some adjustments depending on DPI, but I removed for clarity)
I understand that there are better tools (payware) in Windows.
--
Cheers, Carlos.
ES🇪🇸, EU🇪🇺;