also as it stands you never correctly imported util, so image is undefined so the whole example fails.