web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Drawing on an image in...
Power Apps
Unanswered

Drawing on an image in a Canvas app and saving it to SharePoint

(0) ShareShare
ReportReport
Posted on by 2

Hello everyone.

I am looking for advice regarding a functionality I am currently working on.

As part of the app I am developing, I have to give users a way to draw on pictures they have previously taken and save the result in SharePoint. Unless I missed something, it's currently impossible to do so directly with canvas. Therefore, I tried doing the next best thing.

 

1- As these photos have to be stocked with and without alterations, I first send them to my SharePoint.

 

2- I set up a gallery that allows to select the SharePoint pictures and to have them on the app screen, under a drawing control with a transparent background.

 

3- I then added to this the screenshot PCF (https://pcf.gallery/screenshot-pcf/) in the hope of completing this function.

 

Right after I started boasting about my novel solution to my coworkers, I realized that the screenshot PCF does not capture images, and I don't really understand why.

 

Here is a screenshot of my setup with my gallery, drawing, image and screenshot controls

Screenshot Tool 1.PNG

And here is another screen with the screenshot taken by my the previous control and a label with the content of the image file I believe to be in a base64 string format. As you can see on the picture, the big image and the miniatures of my gallery do not appear in the screenshot taken in my app.

Screenshot Tool 2.PNG

 

Finally, here is my question :

Can anyone tell me how to capture images using the screenshot PCF or, even better, has an alternative way to draw on an image in a Canvas app and save the result in SharePoint ?

 

 

A good day to all of you,

Seb

 

I have the same question (0)
  • infernaldaze Profile Picture
    2 on at

    Hi,

     

    Did you find a solution for this? Having the same issue myself.

  • Seb B Profile Picture
    2 on at

    I did, sort of..

    Turns out the library used in the screenshot PCF only recognizes a certain type of images. So if you want it to work, it has to be with a Base64 image. This limitation is quite problematic, unless you're up for modifying the PCF screenshot.

    Now for the good news : you can display a picture you just took with canvas, draw over it and take a screenshot. This should work in most cases.

     

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard