"save image: object reference not set to an instance of an object

i TRYING TO run my programm but i get the message "“SAVE IMAGE: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT” can someone help me?

Hi there @CarolAtaide,
Based on the information you have provided, it is likely the image you are attempting to save, is not initialised at the point of saving.

Are you sure the variable is initialised and populated beforehand?

You should be able to check this via:

If IsNothing(imgYourImageVariable)
* Throw Exception 
End If

Thanks in advance,