Passing the custom path of an image

Hello, I would like to use an image that is not in the ‘‘resources’’ folder. How would it be done?

Use self.add_image(“label”, “file path”) and later on use the label for the find method.
The file path can be any path on your system.

would you have a simple example please!

Usage example.

2 Likes