• Joined on 2023-11-28
ooBJ3u commented on pull request josch/img2pdf#184 2024-11-02 04:03:50 +00:00
Add support for JBIG2 (generic coding)

This is how Python prints the bytearray by default, so I figured that is fine.

ooBJ3u commented on pull request josch/img2pdf#184 2024-10-30 17:25:50 +00:00
Add support for JBIG2 (generic coding)

Great news!

@josch this PR should now really-really be ready to merge then, when you have a moment. 🙏

ooBJ3u commented on pull request josch/img2pdf#184 2024-10-30 04:52:35 +00:00
Add support for JBIG2 (generic coding)

Apologies again for the delay.

@phmccarty I fixed your issue in 244600065d — see the commit message for more…

ooBJ3u pushed to main at ooBJ3u/img2pdf 2024-10-30 04:51:19 +00:00
244600065d Strip end-of-page and end-of-file segments from JBIG2
ooBJ3u commented on pull request josch/img2pdf#184 2024-10-10 23:36:47 +00:00
Add support for JBIG2 (generic coding)

That could explain it. Do you happen to have the byte strings that should be removed at the end handy? We can check to make sure those are present, and then remove those in that case.

ooBJ3u commented on pull request josch/img2pdf#184 2024-10-10 22:21:50 +00:00
Add support for JBIG2 (generic coding)

@phmccarty that sounds like a bug in pdfimages. I've created and distributed many files with this MR, and they all open properly in PDF readers, and haven't heard any issues from users with…

ooBJ3u commented on pull request josch/img2pdf#184 2024-09-25 19:08:21 +00:00
Add support for JBIG2 (generic coding)

There are a lot of FOSS projects I'm taking are of and unfortunately, I haven't spent as much time on img2pdf recently as I should've.

@josch I know just what you mean, which is why this also…

ooBJ3u pushed to main at ooBJ3u/img2pdf 2024-09-25 19:06:14 +00:00
e2369eb59a Add support for JBIG2 (generic coding)
ooBJ3u commented on pull request josch/img2pdf#184 2024-09-11 07:52:41 +00:00
Add support for JBIG2 (generic coding)

@josch is this still blocked on anything? Anything I can do to get it merged?

ooBJ3u commented on pull request josch/img2pdf#184 2024-06-06 16:34:00 +00:00
Add support for JBIG2 (generic coding)

@josch I have a question. Why does this happen:

$ jbigtopnm mono.jb2
jbigtopnm: Invalid contents of input file.  Input data stream contains invalid data

Apologies…

ooBJ3u commented on pull request josch/img2pdf#184 2024-05-15 13:49:46 +00:00
Add support for JBIG2 (generic coding)

@josch Would you like to have another look at this? All comments should be addressed now.

ooBJ3u commented on pull request josch/img2pdf#184 2024-04-05 01:02:56 +00:00
Add support for JBIG2 (generic coding)

Apologies for the delay. I've updated the README to consistently say "1-bit monochrome" (to differentiate it from the other meaning of "grayscale"). Does this look good?

ooBJ3u pushed to main at ooBJ3u/img2pdf 2024-04-05 01:01:54 +00:00
150a23169b Update 'README.md'
ooBJ3u commented on pull request josch/img2pdf#184 2023-12-06 05:33:24 +00:00
Add support for JBIG2 (generic coding)

Monochrome is also often used for greyscale images, however. See e.g. https://en.wikipedia.org/wiki/Monochrome

Bi-level is pretty standard terminology, though "binary images" or perhaps even…

ooBJ3u commented on pull request josch/img2pdf#184 2023-11-29 04:39:40 +00:00
Add support for JBIG2 (generic coding)

I wasn't sure why this was if instead of elif. Won't that make it so JPEG2000 still crashes? I fixed it but wanted to double-check.

ooBJ3u commented on pull request josch/img2pdf#184 2023-11-29 04:34:07 +00:00
Add support for JBIG2 (generic coding)

Fixed in 085dd192f6e14fe0d6384dc661e1e38794bb1507.

ooBJ3u pushed to main at ooBJ3u/img2pdf 2023-11-29 04:33:19 +00:00
b23d82c45e Use mono.jb2 for tests
085dd192f6 Add support for JBIG2 (generic coding)
Compare 2 commits »
ooBJ3u pushed to main at ooBJ3u/img2pdf 2023-11-29 04:30:43 +00:00
2c00f3b66b Use mono.jb2 for tests
ooBJ3u commented on pull request josch/img2pdf#184 2023-11-29 03:56:59 +00:00
Add support for JBIG2 (generic coding)

No problem, I'll swap it out.

ooBJ3u pushed to main at ooBJ3u/img2pdf 2023-11-29 02:27:47 +00:00
ee42963164 Add support for JBIG2 (generic coding)