converting ImageRAWGL classes