question

PACHECOLLANOSAracely-6318 avatar image
0 Votes"
PACHECOLLANOSAracely-6318 asked saldana-msft edited

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

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.

partner-center-apimicrosoft-graph-files
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @PACHECOLLANOSAracely-6318 You can save the converted files in another folder. Then go to that folder and try opening it again.

0 Votes 0 ·

The problem is not the access to the generated files. The question is about how to convert all the slides from a pptx document, and not just the first slide.

0 Votes 0 ·

1 Answer

ZehuiYaoMSFT-7151 avatar image
0 Votes"
ZehuiYaoMSFT-7151 answered ZehuiYaoMSFT-7151 edited

Hello @PACHECOLLANOSAracely-6318, 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.



image.png (14.3 KiB)
image.png (72.2 KiB)
image.png (14.5 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,

I read the documentation, and I tried to convert a ppt file to jpg.

188746-image.png



It only converts the first slide. How to convert the rest of the ppt document?

Best regards,

0 Votes 0 ·
image.png (185.6 KiB)
ZehuiYaoMSFT-7151 avatar image ZehuiYaoMSFT-7151 PACHECOLLANOSAracely-6318 ·

Hello @PACHECOLLANOSAracely-6318, since beta versions are used for testing, they are unstable when used in production and are not recommended. At the same time, there is no specific request body for converting the mode to jpg in the document, so I suggest opening a support ticket to get a more in-depth solution.

0 Votes 0 ·

Thank you for your answer, do you have the contact or link to support?.

Best regards,

0 Votes 0 ·
Show more comments