summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
author Faizan Naikwade <faizannaikwade@google.com> 2025-03-18 11:14:11 +0000
committer Faizan Naikwade <faizannaikwade@google.com> 2025-03-24 11:11:45 +0000
commitc0acbf4e5b13fc4b2b0bc78aa18f12fe6d35cbae (patch)
tree3db7ded29699fe089f63572f911bdb65acb53079 /tests
parent15770948c53b976503efbe303089e0b247783950 (diff)
PdfPageImageObject Bitmap Color Channel Issue
The Android Bitmap ARGB_8888 which we support for PdfPageImageObject stores the color channel in the native layer as RGBA and the Pdfium expects the Bitmap color channel to be BGRA which resulted in different image content being rendered. This CL implements RGBA to BGRA on addPageObject and vice-versa on getPageObjects. Bug: 401988277 Test: CTS test for data consistency and manual testing on test app. Flag: EXEMPT (401988277) Change-Id: Ic08d822c673199fd8ea4045015045b1400e4cc8c
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions