BradLarson / GPUImage3

GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal.
BSD 3-Clause "New" or "Revised" License
2.68k stars 331 forks source link

Tone Curve Request #62

Open richhurst opened 4 years ago

richhurst commented 4 years ago

Hi,

I have an iOS project that uses GPUImage to load .acv files to manipulate images. I was just wondering if it would be possible to implement the Tone Curve feature in GPUImage3?

Thanks

BradLarson commented 4 years ago

It should be possible to make this work, the problem was that I never ported across the original Objective-C logic for the tone curve input to Swift, so it consequently wasn't brought over to the new Metal version. It didn't help things that someone else contributed the original version, so I wasn't as familiar with how the core logic works.

It's on our list of filters to bring over, though.

richhurst commented 4 years ago

That would be awesome, I’m just worried that ios14 could be the end of OpenGL support as it’s been deprecated for a while now... thanks for the quick reply!