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 »
josch commented on issue josch/img2pdf#100 2021-05-13 17:13:02 +00:00
Is it really necessary to raise an Exception for invalid exif data?

@mara0004 Do you happen to have examples of software, cameras or phones that do set the invalid exif rotation of zero?

josch commented on issue josch/img2pdf#100 2021-05-13 13:14:04 +00:00
Is it really necessary to raise an Exception for invalid exif data?

This pains me. If I tell a program "use the exif data for rotation" and the exif rotation data is invalid, then I expect the program to fail because it cannot fulfill my request. I understand that…

josch commented on issue josch/img2pdf#100 2021-05-13 11:33:56 +00:00
Is it really necessary to raise an Exception for invalid exif data?

I see the problem. I think I can be convinced to add an option to img2pdf which allows to ignore the exif rotation. And if rotation is ignored, it also doesn't make sense to error out on invalid…

josch commented on issue josch/img2pdf#99 2021-05-12 11:42:48 +00:00
How to remove margins in pdfs

Please close this issue once you think that the problem has been resolved.