ios - GPUImagePicture with GPUImageView target? -


i'm trying send output of gpuimagepicture gpuimageview,

this more or less code:

gpuimageview *backgroundimageview = [[gpuimageview alloc] initwithframe:[[uiscreen mainscreen] bounds]]; uiimage *image = [uiimage imagenamed:@"photo"]; //the image not nil gpuimagepicture *imageinput = [[gpuimagepicture alloc] initwithimage:image];  [imageinput addtarget:backgroundimageview]; [self.view addsubview:backgroundimageview]; 

the problem backgroundimageview doesn't seem rendering image... going on?

after you've set filter (or display) chain, need

[imageinput processimage]; 

to propagate image down filter chain , display.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -