-
Bo Majewski authored
Exposes stretch_to_bounds parameter in the PDF to bitmap conversion, which allows thumbnails generated at low DPIs to be stretched to fill the supplied width and height. Exposes keep_aspect parameter to allow scaled up thumbnails preserve the original aspect ratio. As PDF is often in Letter or A4 format this helps with more natural looking thumbnails. Exposes dpi parameters that allow us to specify the resolution of the generated thumbnail. Bug: 903742 Change-Id: I9e526707f18c3d5fed84c32873d8c44573170e02 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2336335Reviewed-by:
Lei Zhang <thestig@chromium.org> Reviewed-by:
Sam McNally <sammc@chromium.org> Reviewed-by:
Noel Gordon <noel@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#797216}
95653802