draw_image method

draw_image

Draws an image on the canvas.

def draw_image(self, data, type, rect):
    ...
ParameterTypeDescription
databytesThe byte array representing the image data.
typeaspose.svg.drawing.WebImageFormatThe format of the image data. See WebImageFormat.
rectaspose.pydrawing.RectangleFThe destination rectangle where the image will be drawn.

See Also