josch commented on issue josch/img2pdf#102 2021-06-01 19:30:02 +00:00
Error on converting to pdf on some jpg images

Imagine you are writing a program that takes input files, operates on them and then writes some files as output. Now you are passing broken input files to that program. Should that program complain?…

josch commented on issue josch/img2pdf#103 2021-06-01 19:27:52 +00:00
And why dont you give support to images with alpha channel, why? i thought img2pdf is full fledge library, please give support to this

Yes, and the error message you pasted explains why this is and what you can do about it. Where is the bug?

it should handle images with alpha channel all i am trying to say

The reason I…

josch commented on issue josch/img2pdf#103 2021-06-01 19:23:16 +00:00
And why dont you give support to images with alpha channel, why? i thought img2pdf is full fledge library, please give support to this

img2pdf is for lossless conversion. If you do not require lossless conversion, then there are many existing libraries that do the job. You should use the right tool for the task at hand and if you…

josch commented on issue josch/img2pdf#101 2021-06-01 19:19:46 +00:00
isssue with Colorspace

err... what do you expect to happen if you specify the L colorspace for a jpeg image that is clearly RGB?

josch commented on issue josch/img2pdf#102 2021-06-01 19:13:28 +00:00
Error on converting to pdf on some jpg images

According to the metadata, the photo was shot with a "Canon EOS 700D" camera -- is that correct? It seems that camera writes the invalid rotation value 0 in its metadata. In the next img2pdf version…

josch commented on issue josch/img2pdf#103 2021-06-01 19:09:27 +00:00
And why dont you give support to images with alpha channel, why? i thought img2pdf is full fledge library, please give support to this

Yes, and the error message you pasted explains why this is and what you can do about it. Where is the bug?

josch commented on issue josch/img2pdf#102 2021-06-01 16:39:15 +00:00
Error on converting to pdf on some jpg images

Your input image uses the exif rotation 0 which is an invalid rotation. What kind of image are you passing to img2pdf?

josch commented on issue josch/img2pdf#101 2021-06-01 16:38:12 +00:00
isssue with Colorspace

Me neither. Unfortunately I don't have a crystal ball that can tell me which image you used as input, so unless you give me enough information that lets me reproduce your issue I'm afraid I cannot be…

josch pushed to main at josch/mmdebstrap 2021-05-31 14:33:42 +00:00
594ea3c72e improve busybox and --hook-dir examples in man page -- thanks Jochen Sprickerhof!
josch pushed to main at josch/mmdebstrap 2021-05-31 09:18:05 +00:00
3f79c18a0d since apt 2.1.16 we can use --error-on=any and do not anymore need to error out on all W: lines (closes: #6)
0378c101bb Pass extended attributes (excluding system) to tar2sqfs
Compare 2 commits »
josch closed issue josch/mmdebstrap#6 2021-05-31 09:18:05 +00:00
run_progress's has_error detects warnings as error
josch commented on issue josch/mmdebstrap#6 2021-05-31 07:05:38 +00:00
run_progress's has_error detects warnings as error

I talked to the apt developers. Indeed --error-on=any is doing exactly what I want (error out on transient network errors) and is supposed to keep that semantic in future apt versions. I'm going to…

josch commented on issue josch/mmdebstrap#6 2021-05-26 17:27:31 +00:00
run_progress's has_error detects warnings as error

agreed, wouldn't the mentioned --error-on=any help already? Seems to cover the network errors which apt called "temporary errors"…

josch commented on issue josch/mmdebstrap#7 2021-05-26 17:19:34 +00:00
suggested copy://<repo> path results in false-positive errors for failing to stat existsing fails

You mean the E: nothing got downloaded error? That one is independent of the second.

The fact that file:// is not allowed is also a relict from the past when mmdebstrap only relied on the…

josch commented on issue josch/mmdebstrap#7 2021-05-26 13:55:26 +00:00
suggested copy://<repo> path results in false-positive errors for failing to stat existsing fails

It probably fails after the step I: installing remaining packages inside the chroot..., right?

This is expected, because the path /root/sources/... cannot be accessed from inside the chroot.…

josch commented on issue josch/mmdebstrap#6 2021-05-26 13:33:32 +00:00
run_progress's has_error detects warnings as error

This is a known problem and you will have to bring it up with the apt maintainers. The underlying problem is, that there is currently no way for mmdebstrap to tell apt: "Fail in these cases but not…

josch commented on issue josch/mmdebstrap#4 2021-05-17 14:18:37 +00:00
CI testing with cowbuilder and grml-debootstrap

Currently nearly the whole testsuite is run as a (wrongly named) jenkins job daily here: https://jenkins.debian.net/job/fakeroot-foreign-worker/

We could easily add tests for cowbuildor and…

josch commented on issue josch/mmdebstrap#5 2021-05-17 13:12:13 +00:00
document mmdebstrap's Recommends: and Suggests: packages

This is not a bug in mmdebstrap but in the Debian package of mmdebstrap and should thus instead be reported to the Debian bts instead. Since I won't do a new mmdebstrap upload any time soon due to…

josch closed issue josch/img2pdf#100 2021-05-14 09:32:43 +00:00
Is it really necessary to raise an Exception for invalid exif data?
josch pushed to main at josch/img2pdf 2021-05-14 09:32:36 +00:00
b4c8aa1a5f add --rotation argument overwriting exif data (closes: #100)
114d7270a2 release version 0.4.1
Compare 2 commits »