riderkick / FMD

Forked from https://sf.net/p/fmd/
GNU General Public License v2.0
720 stars 213 forks source link

Downloaded/Converted PDFs are corrupted #459

Open FormisSage opened 7 years ago

FormisSage commented 7 years ago

Not sure if that's actually the case, however, Acrobat Reader notes that the PDFs are corrupted and repairs them. The only thing I noted was change from PDF format 1.3 to 1.6 (compatibility issue?) and different metadata after the repair.

Now, since they can be opened normally it's not a critical issue, but the original corrupted files aren't openable on my PocketBook. I have to go through every single downloaded PDF and manually open it and save/overwrite it which gets annoying rather quickly.

riderkick commented 7 years ago

Can you post the Acrobat Reader error log?

FormisSage commented 7 years ago

Not sure where AR generates error logs. There was nothing in the program directory and all I could find in AppData was ReaderMessages which was a binary file anyway.

To clarify, it doesn't explicitly say the files are corrupted, merely opens them and when I close them I'm asked if I want to save changes that were made. So I'm not sure if it even generates an error log in the first place.

kavin-90 commented 7 years ago

I tested it with Nukudoke chapter 98 download and converted and it open correctly with Foxit Reader

riderkick commented 7 years ago

Can you post your corrupted file? You can look at Img2Pdf.pas. I'm sure all of that is comply with pdf 1.3 specifications, CMIIW. We don't really need to use higher pdf version if we don't use it. @kavin-90, AFAIK only adobe that really respects their own product. Other readers just ignore the pdf version and proceed with higher pdf version that they support.

FormisSage commented 7 years ago

Kept telling the that .zip is not supported and I should try again with .zip (among other formats), so here's a pdf directly. 0001 - 01.pdf