0

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)

Community
  • 1
  • 1
RubyGladiator
  • 1,765
  • 3
  • 18
  • 27

2 Answers2

1

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.

Ralph
  • 61
  • 3
0

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;
krushnsinh
  • 874
  • 1
  • 10
  • 11