我正在尝试渲染位图以保存到用户的相册中,该位图的分辨率必须高于320x480iPhone屏幕(但仍在iOS内存限制内)。但是,使用此代码创建上下文:UIGraphicsBeginImageContext(CGSizeMake(finalImgWidth,finalImgHeight));CGContextRefctx=UIGraphicsGetCurrentContext();或CG模拟:CGContextRefctx=CGBitmapContextCreate(rawData,finalImgWidth,finalImgHeight,bitsPerComponent,bytesPer