Convert PDF to Image in Power Automate

New Here ,
Feb 27, 2021 Feb 27, 2021

Copy link to clipboard

Copied

I'm struggling.   Hoping someone can help.   

 

I have a PDF in Sharepoint.   I want to convert it to a JPEG using Power Automate.   

 

1 - I used Sharepoint "Get Contents of File"  

2 - Then "Adobe Convert PDF to Image"

3 - Then tried to email the image via outlook.   Also tried saving the file to sharepoint.   

 

In all cases, the Image looks ok (named correctly as test.jpeg) but when I try to open it, it says that the file format isn't supported.    Do I need to do a Base64 conversion or something?   I can't seem to figure it out.   

 

Thanks in advance.  

 

Ryan 

TOPICS
PDF Services API , Power Automate

Views

2.0K

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 29, 2022 Apr 29, 2022

Copy link to clipboard

Copied

Hi Ryan,

 

I struggle with the same problem as you described here in february. Did you find a solution.

 

Christoph

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 09, 2022 Aug 09, 2022

Copy link to clipboard

Copied

Sorry,

 

Broken for me too..  I cannot  see any examples.. I my try to convert from and to one drive instead on sharepoint. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 09, 2022 Aug 09, 2022

Copy link to clipboard

Copied

Hi @johnb87875123 ,

I solved it when I found out that the response is no jpeg but zipped archive that contains jpeg files.

Try to unpack the response. I suppose you will find your files within.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 09, 2022 Aug 09, 2022

Copy link to clipboard

Copied

LATEST

Below is a screenshot of a sample flow which uses the convert to images:

BenVanderberg_0-1660057584886.png

It does provide back a ZIP file, which will require you to extract that ZIP file, which OneDrive has an action for that.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources