replace_image method
Contents
[
Hide
]replace_image
Replaces image data. The new image’s data.When newImageData parameter is None.
def replace_image(self, new_image_data):
...
Parameter | Type | Description |
---|---|---|
new_image_data | bytes |
replace_image
Replaces image data. Attention: when Image is metafile - it will be rasterized due to restrictions of GDI+. Use ReplaceImage(byte[]) instead The new image.When newImage parameter is None.
def replace_image(self, new_image):
...
Parameter | Type | Description |
---|---|---|
new_image | aspose.pydrawing.Image |
replace_image
Replaces image data. Attention: when Image is metafile - it will be rasterized. Use ReplaceImage(byte[]) instead The new image.When newImage parameter is None.
def replace_image(self, new_image):
...
Parameter | Type | Description |
---|---|---|
new_image | IImage |
replace_image
Replaces image data. The new IPPImage.When newImage parameter is None.
def replace_image(self, new_image):
...
Parameter | Type | Description |
---|---|---|
new_image | IPPImage |
See Also
- class
IImage
- class
IPPImage
- class
PPImage
- module
aspose.slides
- library
Aspose.Slides