Microsoft Graph REST API converts pptx to jpg just the first page / converts pptx to pdf adds a white page at the end

PACHECO LLANOS, Aracely 56 Reputation points
2022-03-23T08:49:54.393+00:00

Hello,

I am using MS 365 Graph REST API to convert from pptx to jpg, but I can only convert the first page. I also tried to convert the pptx to pdf (a white page was added at the end of the file) and then I convert the pdf file to jpg and I have the same result (just the first page converted to jpg).

Do I have to add some option to convert the whole document and not just the first page?

When converting from pptx to pdf, how not to add a white page at the end?

Thank you in advance for the answer.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,113 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
340 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Zehui Yao_MSFT 5,861 Reputation points
    2022-03-30T08:50:32.883+00:00

    Hello @PACHECO LLANOS, Aracely , according to the documentation, Graph API only supports converting other formats to pdf.

    188334-image.png
    188265-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.