• Joined on
Loading Heatmap…

josch commented on pull request josch/img2pdf#184

Add support for JBIG2 (generic coding)

Nice! I have a question. Why does this happen: ``` $ jbigtopnm mono.jb2 jbigtopnm: Invalid contents of input file. Input data stream contains invalid data ```

19 hours ago

josch pushed tag 1.5.0 to josch/mmdebstrap

5 days ago

josch pushed to main at josch/mmdebstrap

5 days ago

josch commented on issue josch/mmdebstrap#42

Local package cache?

No, mmdebstrap creates its own mount namespace, so everything gets unmounted automatically even if you should forget to unmount or if the process dies early. Have a look in `/usr/share/mmdebstrap/h…

4 weeks ago

josch commented on issue josch/mmdebstrap#42

Local package cache?

What the debootstrap `--cache-dir` option does is a layer violation. You have at least two options to do something similar in mmdebstrap: 1. add a similar layer violation in the form of hook…

4 weeks ago

josch pushed to main at josch/mmdebstrap

1 month ago

josch pushed to main at josch/mmdebstrap

  • 8c0ddc3266 mmdebstrap-autopkgtest-build-qemu: use mount --no-mtab

1 month ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

I am not sure myself either. I've read the PDF spec on the `/Keywords` entry and it just says: > Keywords associated with the document It does not talk about if there can be more than one…

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

Okay, but that software adds the quotation marks in its *interface*. The quotation markes are not stored in the pdf itself. They are something that are added by your pdf viewer when presenting the…

2 months ago

josch commented on issue josch/img2pdf#195

[0.5.1] Split pages?

Okay, happy to hear that the problem solved itself. :)

2 months ago

josch commented on issue josch/img2pdf#195

[0.5.1] Split pages?

Then I'm afraid I fail to understand your query. By default, img2pdf creates one page per input image. The input images are not lumped together into a single-page pdf. Can you describe in more…

2 months ago

josch commented on issue josch/img2pdf#195

[0.5.1] Split pages?

```sh for f in *.png; do img2pdf -o "$(basename "$f" .png).pdf" "$f" done ```

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

What is the use-case for only storing it in one or the other? Why would a user want to have control over that? I was more thinking along the lines of what adobe acrobat apparently does and…

2 months ago

josch pushed to main at josch/mmdebstrap

  • 1e68ffd2c4 tests: changelog.Debian.$foreign_arch.gz files are not always present
  • 726fc38d1d attempt diagnosing skip-tar-in-mknod failure 'file changed as we read it' using auditd
  • ae09a50f9d document unshare --map-auto --map-user=65536 --map-group=65536 --keep-caps trick
  • 9726836ac4 mmdebstrap-autopkgtest-build-qemu: add documentation of some unshare magic
  • cdf6959a41 make_mirror.sh: retry apt with verbose output
  • Compare 8 commits »

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

Sorry, I'm maintaining img2pdf in my free-time and my current real-life job ends at the end of march and things are a bit hectic with figuring out how things continue in april. > https://exiftoo…

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

> Can you please upload your file? No need, my file is bit-by-bit identical (same hashes) compared to yours. > I have removed double quotation marks in Adobe Acrobat and saved the file. What…

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

In your PDF I see this: ``` 1 0 obj << /Keywords (One, two) /Producer (img2pdf 0.5.1) >> ``` So there are no quotes. Maybe this is something your PDF viewer does?

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

Another idea: download this image: https://mister-muffin.de/mister-muffin.png And then run: img2pdf.exe mister-muffin.png --nodate --engine=internal --keywords "One, two" -o out.pdf …

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

Huh, that's super weird! The problem indeed seems to be windows specific. I cannot reproduce it on my linux box. What does this do on your system: python3 -c "import sys; print(sys.argv[1])"…

2 months ago

josch commented on issue josch/img2pdf#194

Keywords argument adds extra quotation marks

I suspect this is your shell. Can you try the same commands with a different shell?

2 months ago