commit | c0a77d015c13ee2cb14ce7555f05e997599ba90c | [log] [tgz] |
---|---|---|
author | Chu-Hsuan Yang <chuhsuan@chromium.org> | Fri Apr 26 02:09:41 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 26 02:09:41 2024 |
tree | 8dbfcb92a5e6113fd17dadca1cb77062f0379953 | |
parent | b9b1faf17aa0f794f5fad5b863a411e5d2133e70 [diff] |
CCA: Render the first page of PDF to an image as the thumbnail The previous PDF image extraction logic is error-prone and hard to maintain. This CL renders the first page of PDF to an image instead of extracting the first image in the PDF as the thumbnail. Bug: 330084715, 329069826 Test: Gallery button can display PDFs from CCA and other sources correctly Change-Id: I0655cbeaec17ed4e00902ec1f74331e603fb0e5f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5392765 Reviewed-by: Ashley Prasad <ashleydp@google.com> Commit-Queue: Chu-Hsuan Yang <chuhsuan@chromium.org> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by: Sean Li <seannli@google.com> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#1292827}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.