Skip to main content
Participant
November 16, 2021
Question

Resize in API action Convert image to pdf

  • November 16, 2021
  • 1 reply
  • 610 views

Hello

I use the "Convert image to PDF" action in power automate to automatically process receipts from our employees.
Employees take a picture from the receipt with their smartphone and upload it in a microsoft form, together with some data (name, etc.)
The problem is that pictures from a smartphone almost never have a good format, they are too big.
It would be great if pictures-size could be reduced to max A4 format (8,3 x 11,7 inches, 21 x 29,7 cm) so that it is max 1 A4 page in the converted pdf.
See the attacment : the size is 48 x 64 inches, where it should have a max size of A4 (8,3 x 11,7 inches)
Is there a way to resize the picture during the "Convert image to PDF" action with a parameter "max size"?

Sincerely

    This topic has been closed for replies.

    1 reply

    Community Manager
    November 16, 2021

    I'm sorry you are having difficulty, but happy to help.

    Currently, the API has no capability to resize images, so they will need to be resized prior to sending them to create the PDF.