cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
dyee4613
Level 8

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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

dyee4613
Level 8

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,076)