Picture.Type
From Xojo Documentation
Read-Only Property (As Picture.Types )
The Type of the Picture. This is set automatically based on how the picture was created.
Notes
Uses the Types Enumeration to specify the Type:
- Image: An Image for use with HiDPI displays.
- Vector: A Vector graphic.
- MutableBitmap: A bitmap picture that can be modified.
- ImmutableBitmap: A bitmap picture that cannot be modified.
Pictures in the project, loaded from disk, received from drag and drop, or loaded from data will be loaded as Images (unless it's a Vector in which case it is loaded as Vector). This better preserves color spaces, loads multiple resolutions if the format supports it, and reduces memory usage.