• Home
Name Date Size #Lines LOC

..--

README.txtD03-May-2024980 2618

template-1680x1052.svgD03-May-2024136.2 KiB2,5042,501

README.txt

1All the calibration images in PNG format are stored in GS. Follow the
2instructions to add a new resolution image, using 1152x864 as an example:
3
4 * Change the working directory to autotest/files/client/cros/multimedia
5
6 * Generate the SVG image for the new resolution:
7   $ RESOLUTION=1152x864
8   $ ./image_generator.py image-$(RESOLUTION).svg
9
10 * Convert the SVG image to the PNG format, like using ImageMagick:
11   $ convert image-$(RESOLUTION).svg image-$(RESOLUTION).png
12
13 * Browse the following URL for the GS folder:
14   http://go/browse_chameleon_calibration_images
15
16 * Upload the PNG image
17
18 * Change the permission of the image to public
19   Click the right "..." -> "Edit permissions" -> "Add item"
20   Add a new entity ("User", "allUsers", "Reader") and click "Save"
21
22 * Verify if the new image can be accessed:
23   $ rm -f image-$(RESOLUTION).png
24   $ ./image_generator.py image-$(RESOLUTION).png
25   The PNG image should be generated by fetching from GS without any error.
26