josch closed issue josch/img2pdf#107 2021-10-03 19:06:22 +00:00
PNG: Cannot have Palette images with ICC profile
josch pushed to main at josch/img2pdf 2021-10-03 19:06:07 +00:00
354fd7c264 src/img2pdf.py: format with black
392d4a665e adapt AlphaChannelError messages
09ad147d97 support PNG palette images with icc profile (closes: #107)
80393b6efa also support palette+alpha
e265738ac2 Revert "allow palette PNG images with ICC profile (closes: #107)"
Compare 5 commits »
josch closed pull request josch/img2pdf#124 2021-10-03 14:06:24 +00:00
Readme: remove alpha channels section
josch commented on pull request josch/img2pdf#124 2021-10-03 14:06:10 +00:00
Readme: remove alpha channels section

Thanks, applied!

josch pushed to main at josch/img2pdf 2021-10-03 14:05:45 +00:00
1ffb160453 Readme: remove alpha channels section
josch commented on issue josch/img2pdf#120 2021-10-03 13:44:47 +00:00
Tests fail with ImageMagick compiled with --with-quantum-depth=8 or 32

I don't mind you dropping support for older IM versions but I'm not sure how Debian/Ubuntu users will feel about this change.

Luckily, I'm the Debian maintainer of img2pdf so I can adjust things…

josch commented on issue josch/img2pdf#120 2021-10-03 13:18:50 +00:00
Tests fail with ImageMagick compiled with --with-quantum-depth=8 or 32

Which commits are you refering to?

Currently, with IM7, the tests pass fine for me locally. Unfortunately, this breaks the Travis tests because those still use Ubuntu which only has IM6 available.…

josch commented on issue josch/img2pdf#108 2021-10-03 13:16:05 +00:00
Remove pdfrw from src/img2pdf_test.py

Agreed. pdfrw should go.

Related to the tests, I have a local commit that switches the testsuite to imagemagick 7. Would that be a problem for Fedora?

Also, do you currently build img2pdf with…

josch merged pull request josch/img2pdf#121 2021-10-03 11:48:35 +00:00
Update documentation: img2pdf now supports alpha channels
josch pushed to main at josch/img2pdf 2021-10-03 11:48:35 +00:00
cde7472d15 Update documentation: img2pdf now supports alpha channels
josch closed issue josch/img2pdf#122 2021-10-03 11:25:37 +00:00
Transcoding to Monochrome Fails with Pillow >= 8.3.0
josch pushed to main at josch/img2pdf 2021-10-03 11:25:16 +00:00
6eec05c11c workaround for Pillow >= 8.3.0 which limits CCITT Group4 strip size to 64 KB (closes: #122)
josch commented on issue josch/img2pdf#120 2021-10-03 08:28:47 +00:00
Tests fail with ImageMagick compiled with --with-quantum-depth=8 or 32

@sbraz do you have imagemagick 7 on gentoo? I just installed 7.1.0.5 and adapted the tests so that they work with IM7. I'm pondering to drop IM6 support because of all the differences in the output…

josch commented on issue josch/img2pdf#123 2021-10-01 14:49:40 +00:00
Multi Picture jpegs are erroneously converted to multi-paged pdf

I think first_frame_only doesn't help @johannesnussbaum because apparently his desired image is on the second frame.

I do not see an attached image, so I cannot check. But @johannesnussbaum…

josch commented on issue josch/img2pdf#123 2021-10-01 14:19:25 +00:00
Multi Picture jpegs are erroneously converted to multi-paged pdf

From the --help output:

  --first-frame-only    By default, img2pdf will convert multi-frame images
                        like multi-page TIFF or animated GIF images to one
            …
josch commented on issue josch/img2pdf#122 2021-09-30 04:50:32 +00:00
Transcoding to Monochrome Fails with Pillow >= 8.3.0

I reported this as https://github.com/python-pillow/Pillow/issues/5740

Alternatively, if anybody knows of another group4 encoder, I'm all ears.

josch commented on issue josch/img2pdf#122 2021-09-28 03:18:00 +00:00
Transcoding to Monochrome Fails with Pillow >= 8.3.0

It might be possible to just add multi-strip support to ccitt_payload_location_from_pil but a better solution would be to drop that hack altogether and do a CCITT Group4 encoding in a different…

josch commented on issue josch/img2pdf#122 2021-09-27 08:18:20 +00:00
Transcoding to Monochrome Fails with Pillow >= 8.3.0

Ouch! Thanks a lot for bringing up this problem.

It might be possible to just add multi-strip support to ccitt_payload_location_from_pil but a better solution would be to drop that hack…

josch pushed tag 0.8.0 to josch/mmdebstrap 2021-09-21 12:21:30 +00:00
josch pushed to main at josch/mmdebstrap 2021-09-21 12:21:21 +00:00
1a4491b4d3 release 0.8.0
28707c79d2 coverage.sh: disable chrootless test broken by #983425
7ff7609a4c coverage.sh: add fakechroot to test name
2c945e4c87 improve fakechroot LD_LIBRARY_PATH
f5f6343622 coverage.sh: remove redundant tests
Compare 18 commits »