josch closed issue josch/img2pdf#152 2023-08-05 12:43:45 +00:00
A few test case failures on Fedora 37 with ImageMagick 7
josch commented on issue josch/img2pdf#159 2023-08-05 12:29:44 +00:00
GIMP 1bit PNGs (with metadata) bug

@monobot no problem! I just wanted to give you the opportunity to test if those changes do what you expect. That way we reduce the chance of me fixing something that is not really the problem you…

josch commented on issue josch/img2pdf#173 2023-08-04 18:11:14 +00:00
alpha channel and jp2

Aha, so past-me was smart and knew how to correctly compare enums and present-me forgot about it. Thanks! I'll adjust the code such that enums are always compared by identity.

Today we learned…

josch commented on issue josch/img2pdf#159 2023-08-04 18:03:39 +00:00
GIMP 1bit PNGs (with metadata) bug

Here is a patch that should work:

diff --git a/src/img2pdf.py b/src/img2pdf.py
index 06f2e7b..ee7acfc 100755
--- a/src/img2pdf.py
+++ b/src/img2pdf.py
@@ -1436,11 +1445,22 @@ def…
josch commented on issue josch/img2pdf#159 2023-08-04 17:47:50 +00:00
GIMP 1bit PNGs (with metadata) bug

Aha, whoops, sorry, when you wrote:

But I'll take a look into it.

I thought that I had to wait for a follow-up. Sorry for the misunderstanding! :)

I now looked into it a bit more and…

josch commented on issue josch/img2pdf#173 2023-08-04 12:56:09 +00:00
alpha channel and jp2

Yeah, sorry. I should have looked more thoroughly before commenting.

No worries! Better a few comments that have issues than not giving input at all. I like it when people would tell me about…

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

On what schedule would you anticipate a release including this fix?

Depends. If possible I'd like to hear from @monobot on #159 and from @gms on #152.

I'm also having trouble writing a…

josch commented on issue josch/img2pdf#173 2023-08-03 22:09:58 +00:00
alpha channel and jp2

Yes, it works for me with the file you posted.

josch commented on issue josch/img2pdf#173 2023-08-03 22:03:26 +00:00
alpha channel and jp2

I'm not much of a pythonista, nor am I used to dealing with patch files, it may take me a bit of time to figure out how to apply the patch locally.

After cloning the git, you can run this to…

josch commented on issue josch/img2pdf#173 2023-08-03 22:01:45 +00:00
alpha channel and jp2

How about

@mara0004 replacing color != Colorspace.RGBA and color != Colorspace.LA with color not in (Colorspace.RGBA, Colorspace.LA) is a good improvement. The other though is incorrect…

josch commented on issue josch/img2pdf#173 2023-08-03 20:31:18 +00:00
alpha channel and jp2

This patch should fix your problem. Can you confirm?

diff --git a/src/img2pdf.py b/src/img2pdf.py
index 06f2e7b..57a8506 100755
--- a/src/img2pdf.py
+++ b/src/img2pdf.py
@@ -827,8…
josch commented on issue josch/img2pdf#173 2023-08-03 18:03:02 +00:00
alpha channel and jp2

This should not happen. Can you provide an example image so that I can reproduce your problem?

josch commented on issue josch/img2pdf#172 2023-07-30 13:03:47 +00:00
--from-file parameter NUL

From my understanding the NUL is the ASCII Charater with Code 0

Correct.

/path/file name 1.jpg\0/path/file name 2.jpg\0

What platform are you on? In what language are you trying to…

josch commented on issue josch/img2pdf#152 2023-07-22 17:58:15 +00:00
A few test case failures on Fedora 37 with ImageMagick 7

Thank you for your tests! For what it's worth, my own computer is also an arm64 machine, so it is more likely for architecture specific problems on amd64/x86_64 to creep up because I don't have an…

josch commented on issue josch/img2pdf#152 2023-07-17 03:38:34 +00:00
A few test case failures on Fedora 37 with ImageMagick 7

Thank you, attached! 😄

josch commented on issue josch/img2pdf#170 2023-06-26 14:46:31 +00:00
16bit depth png, got error: Refusing to work with multiple >8bit channels.

Yes, what @mara0004 said is correct. If somebody wants to do lossly conversion, then imagemagick already exists and can take care of this. No need for img2pdf if lossy is fine for you. There are…

josch commented on issue josch/img2pdf#170 2023-06-26 10:35:07 +00:00
16bit depth png, got error: Refusing to work with multiple >8bit channels.

You are right, the warning should include what to do if one is fine with lossy conversion. How about the following patch:

diff --git a/src/img2pdf.py b/src/img2pdf.py
index 54701c9..79…
josch pushed to main at josch/mmdebstrap 2023-06-21 05:56:16 +00:00
4d76d04cfe release 1.3.7
73f06a6356 set MMDEBSTRAP_SUITE when running hooks
956dcb42e1 switch from guestfish to debvm
e523741610 add hooks/copy-host-apt-sources-and-preferences
Compare 4 commits »
josch pushed tag 1.3.7 to josch/mmdebstrap 2023-06-21 05:56:16 +00:00
josch pushed tag 1.3.6 to josch/mmdebstrap 2023-06-16 05:02:44 +00:00