Loading a png file inside a package

I might have resolved that by just adding using ImageMagick inside my package although I am not sure if I am doing the right thing here