How to create CGImageDestinationRef with type kUTTypeRawImage?

Trying Code :

NSString *destpath2 = [documentsDirectory stringByAppendingPathComponent: @"RGBA8888Somthing.raw"];   CFURLRef url = (__bridge CFURLRef)[NSURL fileURLWithPath:destpath2];   CGImageDestinationRef destination = CGImageDestinationCreateWithURL(url, kUTTypeRawImage, 1, NULL);

I am getting error : findWriterForTypeAndAlternateType:119: unsupported file format 'public.camera-raw-image'