josch pushed to main at josch/img2pdf 2025-02-15 13:46:00 +00:00
b6dbfdb481 Slightly simplify imgformat retrieval
josch commented on pull request josch/img2pdf#202 2025-02-15 13:39:08 +00:00
Slightly simplify the getexif procedure

Hi, I reworked your commit such that your code will be run if the getexif() function is provided and the old one is run if only _getexif() exists. In the future, the latter can be removed easily.

josch closed pull request josch/img2pdf#202 2025-02-15 13:39:08 +00:00
Slightly simplify the getexif procedure
josch pushed to main at josch/img2pdf 2025-02-15 13:36:49 +00:00
23436114f8 Slightly simplify the getexif procedure if PIL is new enough
2d5e4e3cb7 break out convert_to_docobject() from convert() which returns a document handle
Compare 2 commits »
josch merged pull request josch/img2pdf#203 2025-02-15 13:07:18 +00:00
`convert()`: add option to get engine document (e.g. pikepdf.Pdf)
josch pushed to main at josch/img2pdf 2025-02-15 13:07:17 +00:00
b0d70cea71 Fix typo in test
596916bbe1 Factor out from convert() too, adapt pdfdoc
d2bfd60e1e Extract a separate function from tostream()
84f9c6ecfe Write to tmp path rather than output/
356f6d00ab Minor cleanup
Compare 7 commits »
josch closed pull request josch/img2pdf#184 2025-02-15 08:55:48 +00:00
Add support for JBIG2 (generic coding)
josch commented on pull request josch/img2pdf#184 2025-02-15 08:55:47 +00:00
Add support for JBIG2 (generic coding)

Yes, I stripped off the last 22 bytes from the data embedded in PDF which matches the size of the last segments. Closing this now.

josch pushed to main at josch/img2pdf 2025-02-15 08:53:56 +00:00
5e515abb6f src/tests/output/mono.jb2.pdf: strip off the last 22 bytes (end-of-page and end-of-file segments)
josch commented on pull request josch/img2pdf#184 2025-02-15 08:36:02 +00:00
Add support for JBIG2 (generic coding)

Oh no, wait! Is what I'm seeing in the diff not just the end-of-page and end-of-file segments from JBIG2 which got stripped in your last commit? Did you just forget to update the test data?

josch commented on pull request josch/img2pdf#184 2025-02-15 08:34:29 +00:00
Add support for JBIG2 (generic coding)

Hi again! Sorry for the long wait. Indeed, sadly, img2pdf has been rather at the bottom of my TODO list in the past few months but since the next Debian stable release is coming up, I want to make…

josch pushed to main at josch/img2pdf 2025-02-15 07:13:13 +00:00
a2e2998fb1 Strip end-of-page and end-of-file segments from JBIG2
14948e7ba8 Add support for JBIG2 (generic coding)
bcfdf8b54e src/img2pdf_test.py: test_jpg_2000_rgba8 no longer works with compare_poppler()
9f74740c95 src/img2pdf_test.py: test_miff_cmyk8 now compares exactly
cbc3d50c63 src/img2pdf_test.py: support None for tiff:alpha
Compare 5 commits »
josch pushed to main at josch/img2pdf 2025-02-15 07:08:42 +00:00
fa591a98c4 Strip end-of-page and end-of-file segments from JBIG2
a14d07c57f Add support for JBIG2 (generic coding)
Compare 2 commits »
josch pushed to main at josch/img2pdf 2025-02-15 07:02:21 +00:00
5d86bd6dd2 src/img2pdf_test.py: test_jpg_2000_rgba8 no longer works with compare_poppler()
50a9ef1714 src/img2pdf_test.py: test_miff_cmyk8 now compares exactly
97ed2a966c src/img2pdf_test.py: support None for tiff:alpha
a5da338e96 Update 'README.md'
8c5541f417 Use mono.jb2 for tests
Compare 8 commits »
josch pushed to main at josch/plakativ 2025-02-04 15:51:22 +00:00
a8cc4c438f pymupdf insert_textbox -> insertTextbox
josch pushed to main at josch/mmdebstrap 2025-01-29 05:53:46 +00:00
9366f1fee7 Use format string for shell printf
josch pushed to main at josch/mmdebstrap 2025-01-13 12:30:10 +00:00
b1ba7dab3d tests/create-foreign-tarball: also remove padlock.so on x86_64 to equalize the test cases
792867a390 release 1.5.6
Compare 2 commits »
josch pushed tag 1.5.6 to josch/mmdebstrap 2025-01-13 12:30:10 +00:00
josch deleted tag 1.5.6 from josch/mmdebstrap 2025-01-13 12:29:21 +00:00
josch pushed to main at josch/mmdebstrap 2025-01-11 08:13:09 +00:00
917a879c4b place DPkg::Pre-Install-Pkgs workaround into a new config file
dc5bbb7173 tests/chrootless: make sure that nothing outside the chroot changes
e62f32b098 keep some 20220613 formatting until 20250105 is in Debian stable
fcf1c407de tests/empty-suite: do not rely on existing ./cache/mmdebstrap-unstable-apt.tar
1a17c70ffb coverage.txt: mark empty-suite with Needs-APT-Config: true
Compare 5 commits »