josch commented on issue josch/img2pdf#199 2024-07-06 06:48:12 +00:00
feature request: compress image losslessly within pdf

Perhaps the deflating method from ocrmypdf can also be used for img2jpg

The irony: ocrmypdf depends on img2pdf for its functionality ;)

How ocrmypdf does it? Like this:

<<…
josch commented on issue josch/img2pdf#199 2024-06-30 06:41:04 +00:00
feature request: compress image losslessly within pdf

yesterday I used one of the losslessly web tools and it seemed to work. But they are not telling the truth. I only checked the size and not the content. They reduced resolution, which is no…

josch commented on issue josch/img2pdf#199 2024-06-29 19:59:26 +00:00
feature request: compress image losslessly within pdf

There are many online PDF shrink tools that can shrink my PDF losslessly again

Can you link to some of them? I'm interested in how they achieve that. Are they just re-compressing the jpeg…

josch pushed to main at josch/mmdebstrap 2024-06-26 10:53:34 +00:00
8e2f62d08c release 1.5.2
8130f1cef0 README.md: add new authors
6262c1921c tests/check-against-debootstrap-dist: allow for different installation order of passwd and systemd
500b0d2512 mmdebstrap: fix perltidy formatting
37678c4fb5 tests/check-against-debootstrap-dist: allow /var/log/{faillog,lastlog} to be absent
Compare 6 commits »
josch pushed tag 1.5.2 to josch/mmdebstrap 2024-06-26 10:53:34 +00:00
josch pushed to main at josch/mmdebstrap 2024-06-17 12:43:28 +00:00
bda207af63 mmdebstrap-autopkgtest-build-qemu: selects wrong kernel package for armhf
d0c30c70bd tests/debootstrap: dump $tmpdir/debootstrap/debootstrap.log on failure
1a4bb39aad check if libarchive is available for ext4 format
Compare 3 commits »
josch commented on issue josch/img2pdf#198 2024-06-15 08:19:31 +00:00
Multiple images per page?

Considered, yes. But then also discarded the idea.

The img2pdf tool is already complex enough in the layouting it can do. Instead of having one tool that can do everything (think imagemagick)…

josch pushed to main at josch/mmdebstrap 2024-06-11 13:49:52 +00:00
dfeb21cfe5 tests/empty-sources.list: only write out /etc/apt/sources.list if it doesn't exist yet
d0add325d3 Mark oldstable as bullseye_or_later
d4149bb4db coverage.sh: add missing newline at end of curl output
61509691a8 tests: base-files now ships merged-/usr symlinks
3969727cc0 tests: bug #1031276 got fixed
Compare 5 commits »
josch pushed to main at josch/mmdebstrap 2024-06-11 07:52:08 +00:00
2a8f0ce5da Mark oldstable as bullseye_or_later
josch pushed to main at josch/mmdebstrap 2024-06-10 07:11:02 +00:00
0a2a9beb60 coverage.sh: add missing newline at end of curl output
483d4fc5cb tests: base-files now ships merged-/usr symlinks
f8efe39cc9 tests: bug #1031276 got fixed
Compare 3 commits »
josch pushed to main at josch/mmdebstrap 2024-06-03 08:46:59 +00:00
6818d2ed40 release 1.5.1
9f8172bbc0 Switch variant apt from 'apt-get dist-upgrade' to apt patterns
767e8a8bfb run_qemu.sh: allow setting MMDEBSTRAP_TESTS_DEBUG and add auto-detection for amlogic a311d bananapi
abc66c5dc7 increase additional number of blocks from 1.1 to 1.2 times the computed number
f3ea5f2676 add flock on temporary directory in /tmp
Compare 6 commits »
josch pushed tag 1.5.1 to josch/mmdebstrap 2024-06-03 08:46:59 +00:00
josch commented on issue josch/img2pdf#197 2024-06-02 22:16:34 +00:00
Missing support for python3_12

Cool! If there is nothing to be done from my side, please close this issue. Thanks!

josch commented on issue josch/img2pdf#197 2024-06-02 16:58:27 +00:00
Missing support for python3_12

Okay, but why did the jp2 module fail to load? What was the error message?

josch commented on issue josch/img2pdf#197 2024-06-02 16:21:01 +00:00
Missing support for python3_12

Thank you for opening an issue! Could you provide some error output showing what happens when one runs img2pdf with python 3.12?

josch pushed to main at josch/mmdebstrap 2024-06-02 06:12:11 +00:00
821c2e1328 In unshare mode, make all mounts private recursively
josch pushed to main at josch/mmdebstrap 2024-06-02 06:10:01 +00:00
8b982e82d2 In unshare mode, make all mounts private recursively
84f80673f4 Revert "attempt diagnosing skip-tar-in-mknod failure 'file changed as we read it' using auditd"
Compare 2 commits »
josch commented on issue josch/img2pdf#196 2024-05-20 05:38:25 +00:00
RFE: empty page

I slept of this and thought a bit more. I think what made me not like this feature is, that I think it should be other tools which are made for PDF manipulation like pdftk who should be responsible…

josch commented on issue josch/img2pdf#196 2024-05-19 08:09:22 +00:00
RFE: empty page

I'm not a fan but lets try to spin this thought further. Maybe you manage to convince me. How would this work in practice? Lets say the user runs this:

img2pdf letter.png /dev/null…
josch commented on pull request josch/img2pdf#184 2024-05-18 12:19:45 +00:00
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