• Joined on 2023-04-21
smw closed issue josch/img2pdf#164 2023-05-30 05:58:09 +00:00
new(?) issue with converting 2-color TIFF images to PDF.
smw commented on issue josch/img2pdf#164 2023-05-30 05:58:07 +00:00
new(?) issue with converting 2-color TIFF images to PDF.

I'm not sure exactly what happened, but I have the latest commit now, and this one really does work perfectly. My apology for the inconvenience, and thank you again for doing this!

smw reopened issue josch/img2pdf#164 2023-05-30 05:37:29 +00:00
new(?) issue with converting 2-color TIFF images to PDF.
smw commented on issue josch/img2pdf#164 2023-05-30 05:37:28 +00:00
new(?) issue with converting 2-color TIFF images to PDF.

Sadly, I spoke too soon. The new update absolutely does correctly handle the case where the image has the incorrect color profile, but for images which don't have that (such as the original…

smw commented on issue josch/img2pdf#164 2023-05-30 04:41:21 +00:00
new(?) issue with converting 2-color TIFF images to PDF.

I just tried it and it works beautifully. Thank you!

smw commented on issue josch/img2pdf#164 2023-05-30 04:23:14 +00:00
new(?) issue with converting 2-color TIFF images to PDF.

I didn't know that about the format produced by gimp, so thank you for clarifying that.

Also, I understand why you need to be careful about losing information, but that's where the -C option…

smw commented on issue josch/img2pdf#164 2023-05-30 00:54:31 +00:00
new(?) issue with converting 2-color TIFF images to PDF.

This is probably a stupid question, but why doesn't '-C 1' sidestep the problem?

smw commented on issue josch/img2pdf#164 2023-05-29 22:47:13 +00:00
new(?) issue with converting 2-color TIFF images to PDF.

Just for fun, I added a print statement to the version 0.4.4 source code as follows:

*** img2pdf.py.original 2023-05-29 18:43:46.651841267 -0400
--- img2pdf.py  2023-05-29 18:39:15.5682220…
smw commented on issue josch/img2pdf#164 2023-05-29 22:42:25 +00:00
new(?) issue with converting 2-color TIFF images to PDF.

Do you really need to parse the color profile? You already know that the image is a bilevel TIFF with CCITT Group 4 encoding; isn't it safe to forcibly set iccp to None and proceed on that basis?

smw commented on issue josch/img2pdf#164 2023-05-29 20:45:28 +00:00
new(?) issue with converting 2-color TIFF images to PDF.

I think you're right. Is there any chance you'd be willing to modify img2pdf to detect that condition and ignore the false color profile?

smw commented on issue josch/img2pdf#164 2023-05-28 23:03:02 +00:00
new(?) issue with converting 2-color TIFF images to PDF.

I already replied to this by email, but I'll copy that reply here for the record.

I don't know how to create bilevel TIFF images in gimp either. The images I'm working with were created by…

smw commented on issue josch/img2pdf#164 2023-05-21 01:38:50 +00:00
new(?) issue with converting 2-color TIFF images to PDF.

After some experimenting, it seems that the problem occurs only for images that were edited using gimp version version 2.10.34, and exported from gimp using its default export options. I can't…

smw opened issue josch/img2pdf#164 2023-05-01 03:09:40 +00:00
new(?) issue with converting 2-color TIFF images to PDF.