crop picture

I need to crop a picture that I created by code. I think I am supposed to use a mask but I haven’t been able to figure it out. I thought you were supposed to create a picture fill it with black and apply it as a mask to the picture requiring the mask but it’s not working. I’m sure it’s simple but can someone help get me started? :slight_smile:

Have you looked at all the parameters of DrawPicture? That might help you.

Yes but I forgot all about them. Looks like I was making that way harder than it had to be. :slight_smile: