• Joined on 2023-03-05
soheday commented on issue josch/img2pdf#199 2024-07-16 22:01:06 +00:00
feature request: compress image losslessly within pdf

If you think this is easy, please show me a patch, then we can talk about it.

Please add the part where you compress all jpegs, then I will show you how I imagine to do that one extra check.

soheday commented on issue josch/img2pdf#199 2024-07-16 20:48:35 +00:00
feature request: compress image losslessly within pdf

I have tried converting the same non-transparent PNG image, which was saved as interlaced and not interlaced, and in both cases it was zlib compressed.

Of course, that's how the PNG format…

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

PNG files (if they are interlaced or if they contain transparency) are zlib compressed image data

I have tried converting the same non-transparent PNG image, which was saved as interlaced and…

soheday commented on issue josch/img2pdf#199 2024-07-16 00:47:52 +00:00
feature request: compress image losslessly within pdf
  1. Do I understand correctly that img2pdf currently compresses almost all image types (png, tiff etc.) and only jpegs are left uncompressed?
  2. Does img2pdf always use the highest compression…
soheday commented on issue josch/img2pdf#194 2024-04-03 16:00:45 +00:00
Keywords argument adds extra quotation marks

It does not talk about if there can be more than one keyword and if yes, how those would get stored (if not via XMP). I also had another look at your out_edited.pdf from above where you removed…

soheday commented on issue josch/img2pdf#194 2024-04-03 13:42:14 +00:00
Keywords argument adds extra quotation marks

Correct me if I am wrong, but img2pdf doesn't allow to add separate keywords to PDF file, they will be always stored as one string. If you implement that feature by always storing keywords in both…

soheday commented on issue josch/img2pdf#194 2024-04-03 12:02:25 +00:00
Keywords argument adds extra quotation marks

I can confirm that not only Adobe Acrobat, but also Foxit PDF adds quotation marks, so this behavior is not isolated. Nitro PDF, PDF-XChange and Slim PDF on the other hand does not add those…

soheday commented on issue josch/img2pdf#194 2024-03-30 15:59:30 +00:00
Keywords argument adds extra quotation marks

So I guess this feature request is to add RDF support to img2pdf for the metadata?

Yes. It would be best, if end-users could choose where keywords are stored. One way would be to add extra…

soheday commented on issue josch/img2pdf#194 2024-03-17 15:47:15 +00:00
Keywords argument adds extra quotation marks

Any updates on this issue?

soheday commented on issue josch/img2pdf#194 2024-03-11 08:24:39 +00:00
Keywords argument adds extra quotation marks

Here is another theory: if you have more than one keyword, how do your viewers display them? If they separate multiple keywords by comma, then maybe your viewer adds the quotation marks to…

soheday commented on issue josch/img2pdf#194 2024-03-11 08:01:42 +00:00
Keywords argument adds extra quotation marks

I have removed double quotation marks in Adobe Acrobat and saved the file. What does it show to you now? I no longer see them after manually removing.

soheday commented on issue josch/img2pdf#194 2024-03-11 07:57:26 +00:00
Keywords argument adds extra quotation marks

Can you please upload your file? I have tried Adobe Acrobat and Foxit PDF Reader.

soheday commented on issue josch/img2pdf#194 2024-03-11 07:47:13 +00:00
Keywords argument adds extra quotation marks

Here you go.

soheday commented on issue josch/img2pdf#194 2024-03-11 07:35:05 +00:00
Keywords argument adds extra quotation marks

Output: foo, bar

soheday commented on issue josch/img2pdf#194 2024-03-11 07:09:42 +00:00
Keywords argument adds extra quotation marks

Same result with both cmd and PowerShell. I don't think it is shell related. --title works as expected when "One, two" is used.

soheday opened issue josch/img2pdf#194 2024-03-10 23:44:09 +00:00
Keywords argument adds extra quotation marks
soheday commented on issue josch/img2pdf#167 2023-05-30 18:07:16 +00:00
Paper size transpose in Windows

Hard to think of anything suitable. Maybe A4_T.

soheday commented on issue josch/img2pdf#166 2023-05-30 17:57:05 +00:00
Invalid Argument Error When Using Special Characters in Output Filename

Works fine for me, Win10. I suspect that @Anangaya has used a question mark (illegal file name character) instead of umbrella character.

soheday commented on issue josch/img2pdf#167 2023-05-30 12:33:54 +00:00
Paper size transpose in Windows

Do you have any idea for what such an alternate format could look like?

Maybe -T / --transpose-page.

soheday opened issue josch/img2pdf#167 2023-05-28 00:43:15 +00:00
Paper size transpose in Windows