Post not yet marked as solved
Post marked as unsolved with 0 replies, 98 views
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'