This repository contains background template with cutouts for Google Pixel 8 phone, with all measurements obtained experimentally and iteratively.
To use, open pixel8-template.png in your favourite image editing software. The colour red (0xff0000) can then be used as a mask that signifies pixels that are outside the frame of the phone, or are occluded by the front camera.
Google Pixel 8 has a display with 1080x2400px screen resolution, but actually used a center-cropped 1188x2640px image for background image (obtained experimentally.). When one swipe down to reveal notifications and quick settings menu, the phone will fade and zooms out the background image, which will then reveal the normally unseen margins (red pixels in pixel8-template.png).
2 examples with UI elements are included, pixel8-example-home.png and pixel8-example-lock.png to assist in laying out background elements.
1 ready to use example are included: pixel8-example-background.png. This background gives you an idea of what you can do with this template.
Image templates in this repository is licensed under CC-BY-4.0 license.
"Cosmic Cliffs” in the Carina Nebula taken by James Webb Space Telescope by NASA licensed under Public Domain https://webbtelescope.org/contents/media/images/2022/031/01G77PKB8NKR7S8Z6HBXMYATGJ
Manrope Font by davelab6 licensed under SIL Open Font License, Version 1.1 https://github.com/davelab6/manrope