
## Image class

The image is the base class for all type of drawings.



**Inheritance:** [`Image`](/cad/python-net/aspose.cad/image) → 
[`DataStreamSupporter`](/cad/python-net/aspose.cad/datastreamsupporter) → 
[`DisposableObject`](/cad/python-net/aspose.cad/disposableobject)



The Image type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [disposed](/cad/python-net/aspose.cad/image/disposed) | Gets a value indicating whether this instance is disposed. |
| [data_stream_container](/cad/python-net/aspose.cad/image/data_stream_container) | Gets the object's data stream. |
| [is_cached](/cad/python-net/aspose.cad/image/is_cached) | Gets a value indicating whether object's data is cached currently and no data reading is required. |
| [bounds](/cad/python-net/aspose.cad/image/bounds) | Gets the image bounds. |
| [container](/cad/python-net/aspose.cad/image/container) | Gets the [`Image`](/cad/python-net/aspose.cad/image) container. |
| [height](/cad/python-net/aspose.cad/image/height) | Gets the image height. |
| [palette](/cad/python-net/aspose.cad/image/palette) | Gets or sets the color palette. |
| [size](/cad/python-net/aspose.cad/image/size) | Gets the image size. |
| [width](/cad/python-net/aspose.cad/image/width) | Gets the image width. |
| [has_background_color](/cad/python-net/aspose.cad/image/has_background_color) | Gets or sets a value indicating whether image has background color. |
| [background_color](/cad/python-net/aspose.cad/image/background_color) | Gets or sets a value for the background color. |
| [unit_type](/cad/python-net/aspose.cad/image/unit_type) | Gets current unit type. |
| [unitless_default_unit_type](/cad/python-net/aspose.cad/image/unitless_default_unit_type) | Assumed unit type when UnitType is set to Unitless |


### Methods
| Method | Description |
| :- | :- |
| [save](/cad/python-net/aspose.cad/image/save/#) | Saves the image data to the underlying stream. |
| [save](/cad/python-net/aspose.cad/image/save/#str-aspose.cad.ImageOptionsBase) | Saves the object's data to the specified file location in the specified file format according to save options. |
| [save](/cad/python-net/aspose.cad/image/save/#io.RawIOBase-aspose.cad.ImageOptionsBase) | Saves the image's data to the specified stream in the specified file format according to save options. |
| [save](/cad/python-net/aspose.cad/image/save/#io.RawIOBase) | Saves the object's data to the specified stream. |
| [save](/cad/python-net/aspose.cad/image/save/#str) | Saves the object's data to the specified file location. |
| [save](/cad/python-net/aspose.cad/image/save/#str-bool) | Saves the object's data to the specified file location. |
| [can_load](/cad/python-net/aspose.cad/image/can_load/#str) | Determines whether image can be loaded from the specified file path. |
| [can_load](/cad/python-net/aspose.cad/image/can_load/#str-aspose.cad.LoadOptions) | Determines whether an image can be loaded from the specified file path and optionally using the specified open options |
| [can_load](/cad/python-net/aspose.cad/image/can_load/#io.RawIOBase) | Determines whether image can be loaded from the specified stream. |
| [can_load](/cad/python-net/aspose.cad/image/can_load/#io.RawIOBase-aspose.cad.LoadOptions) | Determines whether image can be loaded from the specified stream and optionally using the specified `load_options`. |
| [get_file_format](/cad/python-net/aspose.cad/image/get_file_format/#str) | Gets the file format. |
| [get_file_format](/cad/python-net/aspose.cad/image/get_file_format/#io.RawIOBase) | Gets the file format. |
| [load](/cad/python-net/aspose.cad/image/load/#str-aspose.cad.LoadOptions) | Loads a new image from the specified file. |
| [load](/cad/python-net/aspose.cad/image/load/#str) | Loads a new image from the specified file. |
| [load](/cad/python-net/aspose.cad/image/load/#io.RawIOBase-aspose.cad.LoadOptions) | Loads a new image from the specified stream. |
| [load](/cad/python-net/aspose.cad/image/load/#io.RawIOBase) | Loads a new image from the specified stream. |
| [cache_data](/cad/python-net/aspose.cad/image/cache_data/#) | Caches the data and ensures no additional data loading will be performed from the underlying [`DataStreamSupporter.data_stream_container`](/cad/python-net/aspose.cad/datastreamsupporter#data_stream_container). |
| [get_strings](/cad/python-net/aspose.cad/image/get_strings/#) | Gets all string values from image. |
| [can_save](/cad/python-net/aspose.cad/image/can_save/#aspose.cad.ImageOptionsBase) | Determines whether image can be saved to the specified file format represented by the passed save options. |



### See Also
* module [`aspose.cad`](..)
* class [`DataStreamSupporter`](/cad/python-net/aspose.cad/datastreamsupporter)
* class [`DisposableObject`](/cad/python-net/aspose.cad/disposableobject)
* class [`Image`](/cad/python-net/aspose.cad/image)
