Summary: | antialiasing in b&w PDF images (XObject Image) | ||
---|---|---|---|
Product: | MuPDF | Reporter: | michel.onoff |
Component: | mupdf | Assignee: | Robin Watts <robin.watts> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Customer: | Word Size: | --- | |
Attachments: | 0001-Disable-image-interpolation-with-a-hint.patch |
Description
michel.onoff
2013-06-25 15:53:04 UTC
Created attachment 10041 [details]
0001-Disable-image-interpolation-with-a-hint.patch
The attached patch should disable image interpolation when -b 0 is used.
Can you try this out and let us know if it solves the problem please?
I'd love to see an example file that shows the problem please.
I'm on Windows, with a binary installation of MuPDF, so applying the patch is not feasible in my environment. Is there a Windows build to download? Unfortunately, I cannot publish an example since the 2D DataMatrix barcodes which cause the problem contain information considered confidential (personal data of customers). However, I guess that interpolation is quite visible in most PDFs that include 2D barcodes. If I'll stumble across a publicly available PDF containing a 2D barcode I'll upload it here. Committed as: commit 6a6284ddfa453f909ba6576b85166b7cf26941ee Author: Robin Watts <robin.watts@artifex.com> Date: Tue Jul 2 13:30:37 2013 +0100 Disable image interpolation with a hint. Set the hint in mudraw when AA bits is set to 0. |