The VEX AIR Drone Controller allows for up to ten custom images to be used in a project. This article will walk you through where and how to upload and use custom images in VEXcode AIR.
Using the Control Panel to Upload Custom Images
Select the Gear icon to open the Control Panel.
Select the Images tab to view any previously uploaded images or load custom images.
Select the Upload icon on the Image slot you want to use.
The Image Selector window will appear. Select the Upload Custom Image button to open a dialog box on your device. Choose any .png file that is smaller than 10 MB.
After the image is selected, it will appear in the Control Panel in the chosen slot. By default, images will be named IMAGE1 with the number matching the slot the image is uploaded to.
For more information on how to use a custom image in a project, refer to the VEXcode API Reference for Blocks or Python.
Renaming an Image File
Any image file can be renamed in the Control Panel.
Select the edit icon to the right of the current image name.
A window will appear. Type the new name for the image file into the text box, then select Update.
Image names can contain a maximum of 14 characters and cannot begin with a number or include spaces.
The updated image name will now appear in the Control Panel.
This update will also show in the parameter dropdown for the Show image file block or the autocomplete for the Python command depending on your coding method.
Deleting a Custom Image
To delete an image from the Control Panel, select the Trash icon.
To delete all images, select the Delete All Images option at the bottom of the Images tab.