Page 1 of 1
JBIG2 encoder
Posted: Tue Feb 04, 2025 6:18 am
by Wirtualny
Would you mind adding JBIG2 encoder (with its dependencies) to MX repos?
It's in Debian Trixie repo, but I'm not sure to just take it just from there and installing in MX. Knowing my luckiness, I'm afraid to break the system.
https://packages.debian.org/trixie/jbig2
Re: JBIG2 encoder
Posted: Tue Feb 04, 2025 3:51 pm
by timkb4cq
Done
jbig2 is now available in the MX-23 Test repository.
I had never tried jbig so I can't compare, but jbig2 converted some photos of book pages I had to crisp b&w. I had previously tried to do so with other graphics programs with limited success, so it appears to be working as intended.
Please let us know how it works for you.
Re: JBIG2 encoder
Posted: Wed Feb 05, 2025 7:09 am
by Wirtualny
Thank you very much!
I have successfully installed it and done some basic transformations, but I don't understand why... console didn't shout about dependencies, and it also seems to work without them. I mean: libleptonica6, libjbig2enc0t64, libc6.
What do you think about adding them to MX test repo, anyway?
I try to use it in the process of OCR by Tesseract and OCRmypdf.
https://ocrmypdf.readthedocs.io/en/late ... html#jbig2
Re: JBIG2 encoder [Solved]
Posted: Wed Feb 05, 2025 8:28 am
by timkb4cq
It doesn't complain because the MX Package Installer takes care of installing the dependencies automatically in this case libjbig2enc0t64 and liblept5 (trixie has libleptonica6 instead - they changed the library name between releases). libc6 is already installed in MX, it wouldn't run without it.
You didn't see the libraries in MXPI because they are hidden by default. There is a checkbox in the lower part of the screen to show them.
Re: JBIG2 encoder
Posted: Fri Feb 07, 2025 5:25 am
by Wirtualny
Thank you for explanation.
After the next two days, it works fine for me.
