JBIG2 encoder  [Solved]

Message
Author
Wirtualny
Posts: 124
Joined: Sat Jun 26, 2021 9:46 am

JBIG2 encoder

#1 Post 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

User avatar
timkb4cq
Developer
Posts: 3584
Joined: Wed Jul 12, 2006 4:05 pm

Re: JBIG2 encoder

#2 Post 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.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

Wirtualny
Posts: 124
Joined: Sat Jun 26, 2021 9:46 am

Re: JBIG2 encoder

#3 Post by Wirtualny »

Thank you very much! :happy:

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

User avatar
timkb4cq
Developer
Posts: 3584
Joined: Wed Jul 12, 2006 4:05 pm

Re: JBIG2 encoder  [Solved]

#4 Post 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.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

Wirtualny
Posts: 124
Joined: Sat Jun 26, 2021 9:46 am

Re: JBIG2 encoder

#5 Post by Wirtualny »

Thank you for explanation.

After the next two days, it works fine for me. :happy:

Post Reply

Return to “Package Requests - MX-23”