cloudmersive_convert_api_client/api/convert_document_api.py
def convert_document_autodetect_to_thumbnails_advanced(self, input_file, **kwargs):  # noqa: E501
        """Convert File to Thumbnail Image Object  # noqa: E501

        Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object. May specify the number of pages for multiple thumbnails; default is one thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats. Maximum thumbnail size is 2048x2048.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_document_autodetect_to_thumbnails_advanced(input_file, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file input_file: Input file to perform the operation on. (required)
        :param int pages: Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page.
        :param int max_width: Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
        :param int max_height: Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
        :param str extension: Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
        :return: AutodetectToThumbnailsResult
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.convert_document_autodetect_to_thumbnails_advanced_with_http_info(input_file, **kwargs)  # noqa: E501
        else:
            (data) = self.convert_document_autodetect_to_thumbnails_advanced_with_http_info(input_file, **kwargs)  # noqa: E501
            return data
Convert File to Thumbnail Image Object  # noqa: E501

        Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object. May specify the number of pages for multiple thumbnails; default is one thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats. Maximum thumbnail size is 2048x2048.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_document_autodetect_to_thumbnails_advanced(input_file, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file input_file: Input file to perform the operation on. (required)
        :param int pages: Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page.
        :param int max_width: Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
        :param int max_height: Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
        :param str extension: Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
        :return: AutodetectToThumbnailsResult
                 If the method is called asynchronously,
                 returns the request thread.
        
Convert File to Thumbnail Image Object  # noqa: E501
Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object. May specify the number of pages for multiple thumbnails; default is one thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats. Maximum thumbnail size is 2048x2048.  # noqa: E501
This method makes a synchronous HTTP request by default.

:param async_req bool
:param file input_file: Input file to perform the operation on. (required)
:param int pages: Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page.
:param int max_width: Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
:param int max_height: Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
:param str extension: Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
:return: AutodetectToThumbnailsResult
If the method is called asynchronously,
returns the request thread.
Convert File to Thumbnail Image Object # noqa : E501 Automatically detect file type and convert it to an array of PNG thumbnails returned as an object . May specify the number of pages for multiple thumbnails ; default is one thumbnail . Supports all of the major Office document file formats including Word ( DOCX DOC ) Excel ( XLSX XLS ) PowerPoint ( PPTX PPT ) over 100 image formats HTML files and even multi - page TIFF files . Returns a generic PNG thumbnail for unsupported formats . Maximum thumbnail size is 2048x2048 . # noqa : E501 This method makes a synchronous HTTP request by default . : param async_req bool : param file input_file : Input file to perform the operation on . ( required ) : param int pages : Optional ; Specify how many pages of the document will be converted to thumbnails . Default is 1 page . : param int max_width : Optional ; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width . Default is 128 . : param int max_height : Optional ; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width . Default is 128 . : param str extension : Optional ; Specify the file extension of the inputFile . This will improve the response time in most cases . Also allows unsupported files without extensions to still return a corresponding generic icon . : return : AutodetectToThumbnailsResult If the method is called asynchronously returns the request thread .
def convert_document_autodetect_to_thumbnails_advanced(self, input_file, **kwargs):  
        """Convert File to Thumbnail Image Object  
        Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object. May specify the number of pages for multiple thumbnails; default is one thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats. Maximum thumbnail size is 2048x2048.  
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_document_autodetect_to_thumbnails_advanced(input_file, async_req=True)
        >>> result = thread.get()
        :param async_req bool
        :param file input_file: Input file to perform the operation on. (required)
        :param int pages: Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page.
        :param int max_width: Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
        :param int max_height: Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
        :param str extension: Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
        :return: AutodetectToThumbnailsResult
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.convert_document_autodetect_to_thumbnails_advanced_with_http_info(input_file, **kwargs)  
        else:
            (data) = self.convert_document_autodetect_to_thumbnails_advanced_with_http_info(input_file, **kwargs)  
            return data
def convert_document_autodetect_to_thumbnails_advanced ( self , input_file , ** kwargs ) : kwargs [ '_return_http_data_only' ] = True if kwargs . get ( 'async_req' ) : return self . convert_document_autodetect_to_thumbnails_advanced_with_http_info ( input_file , ** kwargs ) else : ( data ) = self . convert_document_autodetect_to_thumbnails_advanced_with_http_info ( input_file , ** kwargs ) return data
Convert File to Thumbnail Image Object  # noqa: E501
Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object.
Convert File to Thumbnail Image Object # noqa : E501 Automatically detect file type and convert it to an array of PNG thumbnails returned as an object .
# noqa: E501 """Convert File to Thumbnail Image Object  # noqa: E501

        Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object. May specify the number of pages for multiple thumbnails; default is one thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats. Maximum thumbnail size is 2048x2048.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_document_autodetect_to_thumbnails_advanced(input_file, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file input_file: Input file to perform the operation on. (required)
        :param int pages: Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page.
        :param int max_width: Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
        :param int max_height: Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
        :param str extension: Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
        :return: AutodetectToThumbnailsResult
                 If the method is called asynchronously,
                 returns the request thread.
        """ # noqa: E501 # noqa: E501
self
input_file