josch pushed to main at josch/mmdebstrap 2023-06-16 05:02:43 +00:00
5a6883970a release 1.3.6
5a9123aa11 testsuite changes for bookworm release
04950847d3 add debvm and bdebstrap to docs
f660f0095a make_mirror.sh: kill proxypid more reliably upon failure
2b327ac0fd caching_proxy.py: add comment about not using shutil.copyfileobj()
Compare 6 commits »
josch commented on issue josch/img2pdf#152 2023-06-14 05:03:22 +00:00
A few test case failures on Fedora 37 with ImageMagick 7

Excellent, thank you! Here it is:

https://paste.debian.net/hidden/355d54e1/

This skips the endianness check for all images where img2pdf should not care.

josch reopened issue josch/img2pdf#152 2023-06-13 01:45:49 +00:00
A few test case failures on Fedora 37 with ImageMagick 7
josch commented on issue josch/img2pdf#152 2023-06-13 01:45:42 +00:00
A few test case failures on Fedora 37 with ImageMagick 7

ah then this is an IM7 issue because i tested the current git HEAD on Debian with IM6 and the tests work fine on aarch64, ppc64el as well as s390x.

can i prepare another patch for you which…

josch commented on issue josch/img2pdf#152 2023-06-12 04:08:44 +00:00
A few test case failures on Fedora 37 with ImageMagick 7

Oh dear...

Okay, but the commit I referenced above is sufficient to fix this issue right now, correct? Though it will break in the future once IM7 decides to write little-endian TIFF on all…

josch commented on issue josch/img2pdf#155 2023-06-11 20:00:33 +00:00
PDF timestamp handling issue

nice! fixed in 29921eeabde1a2f9eb31f1383e5a820d9772c333

please file issues for any other problem you find

thanks!

josch pushed to main at josch/img2pdf 2023-06-11 19:56:48 +00:00
29921eeabd the default PDF/A icc profile is /usr/share/color/icc/sRGB.icc, /usr/share/color/icc/OpenICC/sRGB.icc or /usr/share/color/icc/colord/sRGB.icc depending on which one exists
josch commented on issue josch/img2pdf#155 2023-06-11 15:55:43 +00:00
PDF timestamp handling issue

@phmccarty would this patch fix your problem:

diff --git a/src/img2pdf.py b/src/img2pdf.py
index 6c58ea5..54701c9 100755
--- a/src/img2pdf.py
+++ b/src/img2pdf.py
@@ -3766,6…
josch commented on issue josch/img2pdf#155 2023-06-11 15:36:56 +00:00
PDF timestamp handling issue

nice, thank you for that research!

Then I propose to check for the existance of profiles in the following order and use the first one that exists as the default:

  1. `/usr/share/color/icc/sRGB…
josch closed issue josch/img2pdf#152 2023-06-11 12:46:15 +00:00
A few test case failures on Fedora 37 with ImageMagick 7
josch pushed to main at josch/img2pdf 2023-06-11 12:46:15 +00:00
33139612f8 src/img2pdf_test.py: make endianness dependant on sys.byteorder (closes: #152)
64d27f4a8b src/img2pdf_test.py: allow Bilevel as well as Grayscale type for png_gray1_img (closes: #161)
Compare 2 commits »
josch closed issue josch/img2pdf#161 2023-06-11 12:46:14 +00:00
test_png_gray1 test cases started to fail on Fedora 38
josch commented on issue josch/img2pdf#152 2023-06-11 12:46:03 +00:00
A few test case failures on Fedora 37 with ImageMagick 7

The endianness problems also occurred on s380x (also big endian) and were fixed in 33139612f85d8e638b759603957ebf62cce46d80

josch commented on issue josch/img2pdf#155 2023-06-11 11:48:46 +00:00
PDF timestamp handling issue

Thank you for finding this! But this is the wrong fix. The file /usr/share/color/icc/colord/sRGB.icc also exists in Debian but is different from /usr/share/color/icc/sRGB.icc (they come from…

josch closed issue josch/img2pdf#128 2023-06-11 06:35:58 +00:00
aarch64 test failure
josch commented on issue josch/img2pdf#161 2023-06-11 06:35:04 +00:00
test_png_gray1 test cases started to fail on Fedora 38

I think the test can just accept both values because the line below checks:

assert identify[0]["image"].get("depth") == 1

So even if we call this a Grayscale image, it will still be…

josch commented on issue josch/img2pdf#40 2023-06-11 06:33:51 +00:00
--viewer-magnification problem

#165 asks about the same thing

josch closed issue josch/img2pdf#154 2023-06-11 06:24:02 +00:00
Test failures with ImageMagick 7.1.0-60
josch commented on issue josch/img2pdf#154 2023-06-11 06:23:53 +00:00
Test failures with ImageMagick 7.1.0-60

Ah yes, you do. You reported this as #161

I'm closing this one in favour of #161

josch commented on issue josch/img2pdf#154 2023-06-11 06:22:27 +00:00
Test failures with ImageMagick 7.1.0-60

@gms do you also see this issue on Fedora with imagemagick 7.1?