cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

PowerApps Image Conversion

I have an app that utilizes the device's camera to take a picture and email that picture out.  However, the email is a giant URL.  I am assuming it is because PowerApps stores the data as a blob and that's the blob's URL.  Is there a way to convert the blob into a JPG without using a sharepoint list via Flow? 

 

Also, is the process the same for signatures or are signatures different?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: PowerApps Image Conversion

Hi @dyee4613 ,

Do you want to convert pictices'format from the blob into a JPG?

I suggest you update the picture to SharePoint list's Attachments field.

It will automatically turn to .jpg format.

Note: Attachments control could only be used in a form. 

What's more, could you describe more clearly about signatures?

If you means that save the peninput as a .jpg image, it's stored as blob data too.

Here's similar issue for your reference:

https://powerusers.microsoft.com/t5/General-Discussion/Storing-Pen-Input-as-image-Is-there-any-reaso...

 

 

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: PowerApps Image Conversion

Hi @dyee4613 ,

Do you want to convert pictices'format from the blob into a JPG?

I suggest you update the picture to SharePoint list's Attachments field.

It will automatically turn to .jpg format.

Note: Attachments control could only be used in a form. 

What's more, could you describe more clearly about signatures?

If you means that save the peninput as a .jpg image, it's stored as blob data too.

Here's similar issue for your reference:

https://powerusers.microsoft.com/t5/General-Discussion/Storing-Pen-Input-as-image-Is-there-any-reaso...

 

 

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Helper V
Helper V

Re: PowerApps Image Conversion

I used this code.  

 

Office365.SendEmail("realemail@gmail.com","Header", "Body",{Attachments: Table({Name: "pic.jpg",ContentBytes: Camera1.Photo,'@odata.type':""})})

 

It doesn't store it but it works okay for just taking/ending a picture.  It looks like sharepoint is the only way to save files.

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (2,231)