To find the reason for this, run the following:
$ convert rose: -depth 12 out.tiff $ convert out.tiff json:
Hi,
could you rebase your commits on top of the current main branch? I merged some of the other merge requests which should fix compatibility with imagemagick 7 that you are running.
…
smask
Yeah, I saw that too. To me it sounds like some ultra-esoteric use case, i.e. you use palletted color, but a full resolution alpha channel... I wouldn't really bother supporting it.
So, the answer…
In case @josch decides to merge this PR, how would I detect whether img2pdf can handle the image, or whether the alpha channel would still need to be removed? (Currently I just check if the…
smask
I am wondering whether converting to RGBA is really lossless? I know very little about images...
else: newcolor = Colorspace.RGBA r, g, b, a =…
smask
I'm writing some test cases, and noticed that most of them are disabled on macOS. I've tried enabling them, and with a few exceptions they worked fine (given that the dependencies were installed via…
Tweaked the code a bit, and added support for transparent GIFs, and grayscale + alpha PNGs. Also, both the SMask and the RGB part uses the PNG predictor.