josch pushed to main at josch/mmdebstrap 2024-01-25 09:40:40 +00:00
4e35e496e0 rename create-arm64-tarball test and allow running it on both amd64 and arm64
a8583eb39b fix documentation of buildd variant to only include essential, apt and build-essential
ac2aba5074 fix spelling enviroment -> environment
134fc15634 rename include-libmagic-mgc-arm64 tests and allow running them on both amd64 and arm64
4d72f617d9 dpkg 1.22.3 moved start-stop-daemon from /sbin to /usr/sbin, see #1059982
Compare 5 commits »
josch pushed to main at josch/mmdebstrap 2024-01-24 10:23:12 +00:00
ae5bddb2aa coverage.sh: anticipate more variations for CMD
1c669e8f86 tests/chrootless-fakeroot: exclude /var/log/journal and /etc/credstore* from tarballs instead of trying to fix them up
Compare 2 commits »
josch pushed to main at josch/mmdebstrap 2024-01-23 16:39:10 +00:00
4c87024356 release 1.4.1
josch pushed tag 1.4.1 to josch/mmdebstrap 2024-01-23 16:39:10 +00:00
josch pushed to main at josch/mmdebstrap 2024-01-23 16:38:16 +00:00
2f768b07dc coverage.sh: check for pod2man errors
4ca0556cd2 mmdebstrap-autopkgtest-build-qemu: usability and man page improvements
d9f9c64ac2 do not fail during cleanup if /etc/apt/apt.conf.d/00mmdebstrap got removed, only warn
dd94ee3b84 read files passed as --aptopt and --dpkgopt outside the unshared namespace to avoid permission issues
99d2579e0b document that the required and minbase variants do not explicitly install apt
Compare 21 commits »
josch commented on issue josch/img2pdf#189 2024-01-16 23:24:56 +00:00
Re-evaluating Default DPI and handling DPI-less source images

The "table lookup" can be done by the locale utility. Try running this on your system:

$ locale width; locale height

It will give you width and height of the default paper format…

josch commented on issue josch/img2pdf#189 2024-01-16 21:37:07 +00:00
Re-evaluating Default DPI and handling DPI-less source images

What would "pixel per pixel=1" mean?

A pdf is not a raster image. It is more like a vector graphic and its native unit is 1/72 inch. So you have to convert your measurement into inches one way…

josch commented on issue josch/img2pdf#189 2024-01-16 19:08:58 +00:00
Re-evaluating Default DPI and handling DPI-less source images

I think exiting with a non-zero exit status is a bad idea. I got lots of complaints in the past when I insisted that, if the input is garbage, img2pdf should just refuse to work.

But I'm all in…

josch commented on issue josch/img2pdf#97 2024-01-16 18:17:08 +00:00
[Question] How to predict the page size of the resulting document (in PDF units)?

Good question. I'm not entirely sure anymore! There are a couple of software packages that have 96 as the default dpi. Do you have a good argument for a different value?

josch commented on issue josch/plakativ#7 2024-01-15 07:30:47 +00:00
UI broken, possibly due to screen DPI

Okay, then we also have the culprit there. Tk thinks that your monitor dpi is 96 which is the same value that Tk presents for my monitor. If you have a 4k screen, that dpi value should probably be…

josch commented on issue josch/plakativ#7 2024-01-14 23:48:12 +00:00
UI broken, possibly due to screen DPI

What happens if you change this number:

--- a/plakativ.py
+++ b/plakativ.py
@@ -942,7 +942,7 @@ class VerticalScrolledFrame(tkinter.Frame):
             borderwidth=0,
           …
josch commented on issue josch/plakativ#7 2024-01-14 22:16:30 +00:00
UI broken, possibly due to screen DPI

Thank you for your report! Are you able to test a patch if I send you one here?

josch pushed to main at josch/plakativ 2024-01-12 08:48:06 +00:00
e84aa8d42e release version 0.5.2
9475574481 plakativ.py: black
2aa1271aec set Image.MAX_IMAGE_PIXELS=None when using img2pdf
Compare 3 commits »
josch pushed tag 0.5.2 to josch/plakativ 2024-01-12 08:48:06 +00:00
josch pushed to main at josch/debversioncomp 2023-12-30 21:37:28 +00:00
b2ad645561 refactor
josch commented on issue josch/img2pdf#188 2023-12-30 14:37:02 +00:00
Support JPEG XL

img2pdf uses Pillow as an imaging library. Once PIL understands jpeg xl, img2pdf will automatically support it as well. So your request for jpeg xl support should instead go here:

https://github

josch commented on issue josch/img2pdf#186 2023-12-04 19:37:41 +00:00
"pdf width or height is below 3.00 - too small for some viewers!" from JPEG2000 file

So the error you see doesn't actually come from img2pdf but from the library it uses to create the pdf (pikepdf). That library refuses to create a PDF page which is so small that it violates the…

josch commented on issue josch/img2pdf#186 2023-12-04 18:49:01 +00:00
"pdf width or height is below 3.00 - too small for some viewers!" from JPEG2000 file

Do you see anything img2pdf could do better to inform you of what is going on?

josch commented on issue josch/img2pdf#186 2023-12-04 16:33:02 +00:00
"pdf width or height is below 3.00 - too small for some viewers!" from JPEG2000 file

Yes, that seems correct. Where do you see the bug? What would you expect to happen instead?

josch commented on issue josch/img2pdf#185 2023-12-02 06:09:53 +00:00
Tests failing on Void Linux i686

Okay, I have never seen that type of error. There are 70 tests failing and they all seem to fail because the testsuite expects an image with 8 bits of depth but imagemagick apparently reports it…