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

Square Camera view #72

Open bhallamohit opened 4 years ago

bhallamohit commented 4 years ago

Hi All, I'm trying to use GPUImage in my app and I'm facing the following problem : I would like to have the camera output in a squared view (due to some UI constraints). Currently On setting Camera view 1:1 camera preview is stretching

useobjc commented 4 years ago

I think you should modify the standardImageVertices data to fit your UI constraints.

lisheng46 commented 4 years ago

same issue

prrss2212 commented 3 months ago

i am using crop filter for that.it was in gpuimage2 but not available in gpuimage3.so i am using gpuimage2 for that