josch pushed to windows at josch/img2pdf 2023-11-07 17:48:10 +00:00
a2ad732de1 validate icc profile and no default location on windows
josch created branch windows in josch/img2pdf 2023-11-07 17:48:09 +00:00
josch commented on issue josch/img2pdf#179 2023-11-07 16:59:37 +00:00
0.5.0 fails to run on Windows

I am having the issue on Windows. What would be the pip3 command to apply the patch?

You don't do git with pip. What you want to do, is clone this git repository, apply the patch with `git…

josch commented on issue josch/img2pdf#179 2023-11-04 07:52:31 +00:00
0.5.0 fails to run on Windows

Thank you for the investigation! May I highlight you for future issues with Windows? In most cases when people reported Windows issues, they did not know how to install img2pdf on their platform…

josch commented on issue josch/img2pdf#178 2023-11-01 16:30:37 +00:00
0.5.0 test case failures on Fedora Rawhide

@dotlambda thank you for testing! What version of imagemagick is that?

josch commented on issue josch/img2pdf#178 2023-10-30 07:20:49 +00:00
0.5.0 test case failures on Fedora Rawhide

AFAICS, all the old test case failures are now gone

@gms could you close those issues that do not apply to Fedora anymore? Thanks!

josch pushed to main at josch/mmdebstrap 2023-10-29 22:15:00 +00:00
f2020cf3ed coverage.txt: disable merged-fakechroot-inside-unmerged-chroot on testing and unstable
7e5ffbeb93 use L<> in POD formatting
2856fbdda3 hooks/copy-host-apt-sources-and-preferences/setup00.sh: mkdir parent directories if necessary
Compare 3 commits »
josch commented on issue josch/img2pdf#178 2023-10-29 18:00:19 +00:00
0.5.0 test case failures on Fedora Rawhide

I'm fighting with those as well as I'm now uploading the package to Debian. I'm currently using this patch:

https://salsa.debian.org/debian/img2pdf/-/blob/master/debian/patches/fix_tests.patch

josch deleted branch DPkg-Chroot-Directory from josch/mmdebstrap 2023-10-28 13:26:06 +00:00
josch pushed to main at josch/mmdebstrap 2023-10-28 13:26:05 +00:00
fd33bd2a40 set DPkg::Chroot-Directory in APT_CONFIG
josch merged pull request josch/mmdebstrap#34 2023-10-28 13:26:05 +00:00
set DPkg::Chroot-Directory in APT_CONFIG
josch pushed to main at josch/img2pdf 2023-10-28 06:39:01 +00:00
ba7a360866 release version 0.5.0
7f0bf47ff3 src/img2pdf.py: reformat with black
Compare 2 commits »
josch pushed tag 0.5.0 to josch/img2pdf 2023-10-28 06:33:23 +00:00
josch closed issue josch/plakativ#6 2023-10-27 09:29:52 +00:00
Error on saving PDF: AttributeError: 'Shape' object has no attribute 'drawRect'
josch pushed to main at josch/plakativ 2023-10-27 09:29:52 +00:00
fab6925674 use new snake_case naming for pymupdf 1.23.0 and later
josch commented on issue josch/plakativ#6 2023-10-27 07:12:35 +00:00
Error on saving PDF: AttributeError: 'Shape' object has no attribute 'drawRect'

Does this fix things for you?

diff --git a/plakativ.py b/plakativ.py
index 81e7add..a2f0109 100755
--- a/plakativ.py
+++ b/plakativ.py
@@ -712,7 +712,11 @@ class Plakativ:
josch commented on issue josch/plakativ#6 2023-10-27 07:07:09 +00:00
Error on saving PDF: AttributeError: 'Shape' object has no attribute 'drawRect'

Yes, that's because I never tried plakativ with pymupdf 1.23.5. It works fine with 1.21.1 so the interface changed between these two versions. Would you like to try a patch and see if that fixes…

josch commented on issue josch/plakativ#6 2023-10-27 05:55:53 +00:00
Error on saving PDF: AttributeError: 'Shape' object has no attribute 'drawRect'

This is probably related to your version of pymupdf. Which version are you using?

josch commented on issue josch/img2pdf#177 2023-10-27 05:39:09 +00:00
This is not working as expected. Problems with dpi and borders.

Hi, I think I now understand the problem. Let me quote the very first sentence of the README:

Lossless conversion of raster images to PDF

Or the first point of the list below in bold…