Resizing image also shows original image size?

I am trying to get an image resized which does work, but it also shows the original image size, why is this? Is shows up like this:
Screenshot 2022-08-05 at 09.06.03

The image is placed in a Canvas object and inside the Paint event, I am using this code:

var scale as double = 0.50
g.DrawPicture(StoryCraftLogo, 0 ,0, StoryCraftLogo.Width * scale ,StoryCraftLogo.Height * scale, 0, 0 , StoryCraftLogo.Width, StoryCraftLogo.height)

UPDATE: I figured it out, there shouldn’t be a backdrop picture!

3 Likes