(Object, Component<Image>). Functions as an image input for a Vercengen Interface, where images can either be dragged and dropped or selected as a file. You can choose the types of image extensions to support, including geospatial formats.
Component<Image> supports .bmp, .geojson (scanline import), GeoTIFF, .nc (NetCDF), .jpg, .png, .svg, and .tif, though you can restrict what file extensions can be dropped in.
Note. ‘Returns:’ refers to what the Component value returns when exported to its .variable
binding.
<component_key>: (Object, Component<Image>)
- Inherits from Component.
- allowed_file_extensions: (List<String>) - File extensions must begin with a . character. All images by default.
- disable_drag_and_drop: (Boolean) - Optional. Whether to disable drag and drop. False by default.
- disable_preview: (Boolean) - Optional. Whether to disable the image preview. False by default.
- input_folder_path: (String) - The input folder to start out with.
- is_modal: (Boolean) - Optional. Whether the image input should pop up a model. True by default.
- restrict_to_base_folder: (Boolean) - Optional. Restricts all potential inputs to only the base folder and its subdirectories. False by default.
- rejected_file_extensions: (List<String>) - File extensions must begin with a . character.