Manish Patel

Results 2 comments of Manish Patel

How can I set intensity of lut filter using this shader

**You can use set ascept ratio method on GPUImageView** gpuImageView.setRatio(getDecimalEquivalent(bitmap.width,bitmap.height)) gpuImageView.setImage(bitmap) private fun getDecimalEquivalent(width: Int, height: Int): Float { val factor = greatestCommonFactor(width, height) val widthRatio: Float = width /...