Fix splash screen pixelation for new-style WebAPKs
This CL: - Increases the maximum screenshot size (prior to PNG/JPEG encoding) that we transfer to Chrome. The new max will avoid downscaling on most phones (e.g. no downscaling on Pixel 3) - Uses JPEG encoding for large screenshots because JPEG encoding is faster than PNG encoding on Android. Although JPEG encoding is not lossless it is preferable to downscaling BUG=1001154 Change-Id: Ib9d61cee565b6d9a392272300bac71d6da46a861 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1787162 Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by:Glenn Hartmann <hartmanng@chromium.org> Cr-Commit-Position: refs/heads/master@{#696990}
Showing
Please register or sign in to comment