josch pushed to main at josch/mmdebstrap 2023-08-20 11:38:27 +00:00
6cc9d1b99b release 1.3.8
josch pushed to main at josch/mmdebstrap 2023-08-20 06:03:55 +00:00
c7559e305e coverage.py: move print of failed tests to the end
9c970c0326 coverage.sh: check whether wiki is up-to-date if run on developer machine
8eb09569bb make_mirror.sh: remove duplicate --skip=usrmerge
44cf2f94a6 tests/ascii-armored-keys: convert key to armored using gpg instead of sed
1c67ac111a exclude ./lost+found from tarball
Compare 6 commits »
josch commented on issue josch/img2pdf#173 2023-08-08 17:31:31 +00:00
alpha channel and jp2

I want to report it to vips, can you suggest any method I can easily use to determine if a given file is a full jp2 or raw jpeg2000, to make my report as accurate as possible?

I don't think…

josch commented on issue josch/img2pdf#173 2023-08-08 05:47:43 +00:00
alpha channel and jp2

It turns out, that this is a file without the jp2 metadata around it but just a raw jpeg2000 bitstream. I added rudimentary support for those in 09064e8e70a0549147db172eb5b122e50479fd36. Tell me…

josch pushed to main at josch/img2pdf 2023-08-08 05:46:32 +00:00
09064e8e70 jp2: rudimentary support for raw jpeg2000 without jp2 boxes
josch commented on issue josch/img2pdf#173 2023-08-07 16:34:39 +00:00
alpha channel and jp2

Hrm... I had to touch the code around the "no width in jp2 header" error message when I implemented support for your images because not only did your image have transparency, it also was 16 bits…

josch commented on issue josch/img2pdf#173 2023-08-07 14:38:16 +00:00
alpha channel and jp2

You are not giving me trouble -- quite the opposite! Thanks to you, img2pdf now supports JPEG2000 with transparency. 😄

If your organization is fine with that, maybe I can add it to a new…

josch commented on issue josch/img2pdf#173 2023-08-06 20:04:04 +00:00
alpha channel and jp2

@jrochkind you asked for an estimation for a release including this fix. It turns out that the unit test I wrote for JPEG2000 with alpha channel fails on Fedora. So I cannot release until I figure…

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

Okay, e05580a49a1d2cc2822dcd0d13b8386da6293e2b fixes the baseType problem. I can also confirm that installing icc-profiles-openicc makes the tests succeed that failed before.

Unfortunately,…

josch pushed to main at josch/img2pdf 2023-08-06 17:43:31 +00:00
2f736d7891 allow 'matte' to be missing in MIFF
e05580a49a src/img2pdf_test.py: IM7 dropped 'baseType' in json output, so use 'type' instead which works for both IM6 and IM7
Compare 2 commits »
josch commented on issue josch/img2pdf#152 2023-08-06 16:26:31 +00:00
A few test case failures on Fedora 37 with ImageMagick 7

Thank you, I'm able to reproduce the problem with rawhide inside podman:

podman run -it --rm quay.io/fedora/fedora:rawhide
[...]
# dnf install ImageMagick
# curl -O https://upload.wikime…
josch commented on issue josch/img2pdf#152 2023-08-06 11:56:05 +00:00
A few test case failures on Fedora 37 with ImageMagick 7

Fedora has /usr/share/color/icc/OpenICC/sRGB.icc and /usr/share/color/icc/colord/sRGB.icc via icc-profiles-openicc and colord. However, I'll have to explicitly declare one of them as build…

josch commented on issue josch/img2pdf#159 2023-08-05 21:31:58 +00:00
GIMP 1bit PNGs (with metadata) bug

Then you are in luck: I'm also maintaining the img2pdf package in Debian so once I release a new version here I'll also upload that version to Debian unstable. :)

josch commented on issue josch/img2pdf#173 2023-08-05 21:25:36 +00:00
alpha channel and jp2

Indeed I forgot about that syntax. It looks funny but it's the same mechanism as when writing

def myfun(foo, bar, *args):
   [...]

And *args will catch any additional…

josch closed issue josch/img2pdf#173 2023-08-05 14:07:53 +00:00
alpha channel and jp2
josch pushed to main at josch/img2pdf 2023-08-05 14:07:53 +00:00
acc25a4926 Support JPEG2000 images with transparency
josch commented on issue josch/img2pdf#173 2023-08-05 13:24:28 +00:00
alpha channel and jp2

@mara0004 things are a bit more complicated concerning the enum comparison. There are good reasons to use the is operator instead of ==. But above you also suggested to use:

imgformat…
josch commented on issue josch/img2pdf#152 2023-08-05 12:47:23 +00:00
A few test case failures on Fedora 37 with ImageMagick 7

I just pushed a commit with the patch I attached in an earlier message.

This does not yet fix the baseType bug (I need to know what you get when you run convert truecolor.jpg json: to fix…

josch pushed to main at josch/img2pdf 2023-08-05 12:43:47 +00:00
f597887088 The GIMP ICC bug does not only apply to 1-bit tiff but also to black/white palette PNG
3e832fbcc2 add information about how to convert images to 8 bit (closes: #170)
1e8557cef1 src/img2pdf_test.py: drop check for endianness for tests where it does not matter
Compare 3 commits »
josch closed issue josch/img2pdf#159 2023-08-05 12:43:46 +00:00
GIMP 1bit PNGs (with metadata) bug