[loader] allow loader return RawImage.