Moved image handling implementations into Imagehelper

and removed them from RenderContext implementations