to_image method

to_image(self, stream)

Render whole workbook as Tiff Image to stream.


def to_image(self, stream):
    ...
ParameterTypeDescription
streamio.RawIOBasethe stream of the output image

to_image(self, filename)

Render whole workbook as Tiff Image to a file.


def to_image(self, filename):
    ...
ParameterTypeDescription
filenameSystem.Stringthe filename of the output image

to_image(self, page_index, file_name)

Render certain page to a file.


def to_image(self, page_index, file_name):
    ...
ParameterTypeDescription
page_indexintindicate which page is to be converted
file_nameSystem.Stringfilename of the output image

to_image(self, page_index, stream)

Render certain page to a stream.


def to_image(self, page_index, stream):
    ...
ParameterTypeDescription
page_indexintindicate which page is to be converted
streamio.RawIOBasethe stream of the output image

See Also