pdfium/testing/resources/bug_1396264.pdf
Hui Yingst 1abf03e193 Fix Skia rendering when using reverse-byte-order option.
When using `--reverse-byte-order` rendering option, the R and B
channels in the backing SkCanvas are already flipped during the
construction of Skia rendering device. We no longer needed to flip the
byte order in Upsample() calls.

Bug: chromium:1396264, pdfium:1955
Change-Id: I272a70a8e588c772044877058cf9739154b86220
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/103110
Commit-Queue: Nigi <nigi@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
2023-01-11 21:12:47 +00:00

2.2 KiB