BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.24k stars 4.61k forks source link

Remove filter from .ACV #2337

Closed sv9988 closed 8 years ago

sv9988 commented 8 years ago

Hi Brad, I have a question about filter with .acv files. After I filter a origin image with .acv file, may I remove this filter from filtered image(remove data of acv file from filtered image) I want to back origin UIimage from filtered UIImage. Thanks.

BradLarson commented 8 years ago

If you just want the original image, you could extract that at an earlier point in the filter pipeline. There shouldn't be a need to undo a filter from it.

Color conversion operations aren't necessarily reversible, so you may not be able to go back to an original image by applying some kind of inverse filter. Information may have been lost in the initial filtering. Again, just extracting the original image is probably how you want to handle this.