cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Community Support
Community Support

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

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

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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,610)