From 42613d8961fe1011210facebe2c8187f79c8eb21 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Fri, 27 Oct 2017 15:36:33 +0000 Subject: Revert "Remove ContrastAdjust()." This reverts commit 53d443f042b590ae2d920def16bc9daf66f8427d. Reason for revert: Breaks PDFToPWGRasterBrowserTest Original change's description: > Remove ContrastAdjust(). > > This post-processing increased the contrast of scaled-down features - > mainly lines and fonts, relative to the background. The effect does not > improved readability and in some cases makes the scaled-down version > look like a different document at a glance. Text that is normal > weight appears bold when scaled down in these cases. > > Change-Id: I2544d45e2bcec25d6742d2a60c1316d8df08cce1 > Reviewed-on: https://pdfium-review.googlesource.com/15471 > Commit-Queue: Henrique Nakashima > Reviewed-by: dsinclair TBR=bungeman@chromium.org,dsinclair@chromium.org,hnakashima@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: I7f61650bc6d917b3c6640da60f3f740ef4498de0 Reviewed-on: https://pdfium-review.googlesource.com/16970 Commit-Queue: Henrique Nakashima Reviewed-by: Henrique Nakashima --- .../resources/pixel/bug_543018_1_expected.pdf.0.png | Bin 5315 -> 5372 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'testing/resources/pixel/bug_543018_1_expected.pdf.0.png') diff --git a/testing/resources/pixel/bug_543018_1_expected.pdf.0.png b/testing/resources/pixel/bug_543018_1_expected.pdf.0.png index eabf957375..7d1b89aedb 100644 Binary files a/testing/resources/pixel/bug_543018_1_expected.pdf.0.png and b/testing/resources/pixel/bug_543018_1_expected.pdf.0.png differ -- cgit v1.2.3