image helper library methods private