Created proper image handle wrapper