Jump to content

Recommended Posts

Posted

I'm scanning documents using my  Brother MFC-J4340DW printer/scanner but the PDF files are corrupted when opening them in Affinity Publisher v2.5.5. I've done some troubleshooting which suggests that colour or greyscale scans are opened normally, whereas the B&W versions are corrupted. I've also established that the problematic PDF documents open without error when opened in the Edge browser or the PDF-XChange reader app on my Windows 10 PC. Unfortunately the colour & greyscale versions of the PDfs are over 2MB in size whereas the B&W version is only 142kB, which would be more than adequate for my purposes. The B&W PDF file is displayed in Publisher as a white band covering about 10% of the top of the A4 pages.

The printer may be producing corrupted versions of the B&W PDF documents, but the two PDF viewers I used in the testing both open the B&W documents without issue, so I'm inclined to think that Affinity Publisher should do so as well 🙂

I have attached three versions of the 2-page test files

scanFromPrinterTrueGrey.pdf scanFromPrinterColour.pdf scanFromPrinterB&W.pdf

Posted

BTW, I'm not a new member, I've just had to create a new account because I can no longer access the old one & the account recovery mechanism won't talk to me.  I've been around since PagePlus V1 🙂

Posted

Ghostscript reports an error which might be the cause, however
gswin64 -sDEVICE=pdfwrite -o scanGS.pdf scanFromPrinterB&W.pdf
produces a file that Publisher V1 can read, quality looks same as input file comparing both in Chrome

ScanError.png

scanGS.pdf

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Posted

Sometimes PDF-XChange reader reports errors when I open PDF files and also offers to repair them. This generates a new version of the  PDF file which loads without error. However, PDF-XChange is not reporting any errors with the files I've been processing in the last couple of days.

I can generate a new PDF version of the errant files by opening them in PDF-XChange & printing them using the Microsoft Print to PDF driver, but the new file is ridiculously large, even after I've used yet another utility to compress it.

Posted

There is nothing wrong with your B/W PDF scans, it is just that Affinity apps do not support monochrome (1-bit) images at all, and threshold them incorrectly to all black  (8-bit grayscale) images. You can place the PDF in an Affinity app in the default "Passthrough" mode and then export the document to PDF at document dpi (192) to have the monochrome mode and accuracy and also compression rate retained. But you cannot open for editing or place these files "interpreted", because Affinity apps cannot interpret (understand) monochrome bitmaps. You can see this simply by switching the placement mode between "Passthrough" and "Interpret".

image.png.b3d35ca9fa0abb0a5bdaae4b42df07ba.png

Attached is a PDF export from Affinity Publisher when the B&W PDF is placed as passthrough and exported at document DPI.

scanFromPrinterB&W_export_affinity_192dpi.pdf

Posted

Thanks, that is useful, I'll look into it when I get some free time. There's something odd going on because I don't get what I would consider consistent results in Affinity Publisher from my various test documents. Unfortunately most of my time at the moment is being taken up with generating lots of scanned PDF files which I need in a hurry!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.