Μεταφόρτωση προσαρμοσμένων εικόνων#
This tutorial walks you through uploading a custom image in VEXcode AIR. By the end, you’ll have an image uploaded and ready to use in your projects.
Select the Control Panel tab.
Note: If the Control Panel tab is not open, select View, then Add Tab, then Control Panel.
Select the Images tab.
Select an Upload icon.
Select Upload Custom Image, then select Select File to open your device’s file navigation. Select your image file.
Note: Images can be PNG, JPG, GIF, or BMP files smaller than 10 MB.
The image will appear in the chosen slot. By default, images are named IMAGE1, with the number matching the slot the image was uploaded to.
You can use the custom image in a project with the commands in the Screen category for Blocks or Python.
[Select your image from the dropdown.]
εμφάνιση αρχείου εικόνας [IMAGE1 v]
# Change IMAGE1 to the name of your image
controller.screen.show_file(IMAGE1, x=0, y=0)
Select the Pencil icon to rename the image. This will be the image’s name when you use it in your projects.
Type a new name, then select Rename.
Note: Names are shown in capital letters. Names cannot begin with a number, and must be no longer than 14 characters.
Select the Trash icon to delete an image file from a slot.
To delete all images at once, select Delete All Images at the bottom of the Images tab.