skip to Main Content

I downloaded a couple of .acv files off github to apply filters to an image but GPUImage always says that there is no data. I know my code is 100% right and the issue lies with the actual .acv files. Is there a specific way they need to be imported into Xcode?

I have already tried the solution offered here: GPUImage failed to init ACVFile with data:(null)

2

Answers


  1. i have got same problem few days ago have you try adding .acv after test..

    GPUImageToneCurveFilter *stillImageFilter2 = [[GPUImageToneCurveFilter alloc] initWithACV:@"test.acv"];
      UIImage *quickFilteredImage = [stillImageFilter2 imageByFilteringImage:baseImage];
      photoImage.image = quickFilteredImage;
    
    Login or Signup to reply.
  2. After you drag your .acv in Xcode

    Select the file.

    check the file inspector and see if it has been added into the target.

    I came across the same issue just now.
    It won’t be added in by default in my case.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search