How to make an image of a diagram

I`m new here and i was trying to use the makeImageData function it works but it just makes a blank image i dont know why

Have you seen the Intro page on making images? What does your call to makeImageData look like? Do you have a screenshot of your diagram? The more infomation you provide, the better we can help you.