Power Apps – How to build an image annotation / mark up tool
4 steps

Introduction:
We will learn how to create simple set up in Power Apps to have your images annotated /drawn over for notes.

Step 1:
Insert an “Add Picture” control. By default it is grouped and the following naming convention should be:
- AddMediaButton1
- UploadedImage1
For AddMediaButton1, change its ChangePictureText property into:
""For UploadedImage1, change its ImagePosition property into:
ImagePosition.Fit
Step 2:
Insert a Pen Input control named PenInput1 over the ‘Add Picture’ control. We will make PenInput1 to be the same size as the UploadedImage1 control. Make its properties into:
Width property
UploadedImage1.WidthHeight property
UploadedImage1.HeightX property
UploadedImage1.XY property
UploadedImage1.YVisible property
!IsBlank(AddMediaButton1.Media)
Step 3:
Insert an Image control named Image1 beside PenInput1 and the ‘Add Picture’ control. We will make Image1 to be the same size as UploadedImage1 control. Make changes to the following properties:
ImagePosition property
ImagePosition.FitHeight property
UploadedImage1.HeightWidth property
UploadedImage1.WidthImage property
AddMediaButton1.Media
Step 4:
Insert another Image named Image2 over Image1. We will make Image2 to have the same size and same position as Image1. Make changes to the following properties:
ImagePosition property
ImagePosition.FitWidth property
Image1.WidthHeight property
Image1.HeightX property
Image1.XY property
Image1.YImage property
PenInput1.Image
Conclusion:
You may test the tool by doing the following:
- Click the Add a Picture button and attach a file/ take a photo (for mobile)
- The Pen Input will appear, draw some annotations over it
- You will see that the image beside it will output an annotated image. You will have to save AddMediaButton1.Media and PenInput1.Image into your desired data source.
- Need to save the annotated image as a PDF? See the expanded tutorial HERE
Did this article help? Let us know how we can improve. Send us a message by clicking the “Contact Us” button below.
Last Updated: Feb 1, 2024
Need expert guidance on Power Apps?