simple image convertor.