How convert images to one multpages pdf file?

Hi, Support:
I want to convert each image to pdf file first,and then merge all the pdfs as one multpages pdf file.
Is there any method to achieve this purpose?

Thanks.

@ducaisoft

You can achieve your requirements by following below example in the API documentation: