Include images in dynamic pdf generation

I am generating PDF attachment dynamically to Jira . I am able to egenrate PDF file, but I am unable to include logo.gif into the PDF. I tried adding the log as web-resource. Code mentioned below.

my has the below code
Image logo = Image.getInstance(“logo”);

and the error says no file found “logo”