Kam*_*waj 7 image-processing ios
我正在使用代码为图像提供不同的效果,如对比度,色调,饱和度等; 并使用苹果glImageProcessing的代码,我从我的观点跳glimgeProcessing,和由此产生的图像保存到财产uiimage的appDelegate文件.从Eagle视图返回后,我使用viewDidAppear函数将我的图像视图更改为更新的图像
"-[Not A Type _cfTypeID]: message sent to deallocated instance"
Run Code Online (Sandbox Code Playgroud)
我的代码是
NSLog(@"app imafe is %@",app.image);
[imageView setImage:app.image];
Run Code Online (Sandbox Code Playgroud)
我的日志响应是
2013-07-26 13:39:37.293 imageProcessingApp[1019:11303] app imafe is <UIImage: 0x73c4100>
2013-07-26 13:39:39.482 imageProcessingApp[1019:11303] app imafe is <UIImage: 0x90e0420>
2013-07-26 13:39:39.483 imageProcessingApp[1019:11303] *** -[Not A Type _cfTypeID]: message sent to deallocated instance 0x90e0b60
Run Code Online (Sandbox Code Playgroud)
尝试将图像设置为我的问题imageView.
请帮忙
小智 1
看看你发布了什么app.image或在什么地方。可能你还有多余的
CGImageRelease(app.image.CGImage);
Run Code Online (Sandbox Code Playgroud)
或者
[app.image release]
Run Code Online (Sandbox Code Playgroud)
请注意,您不需要发布图像之后的内容ALAsset.fullResolutionImage和fullScreenImage方法