Problem in GPUImageContrastFilter in filterGroups (Urgent Help !!! )
wasim15185 opened this issue · 0 comments
wasim15185 commented
When slider value is less than 1.0f then white shadow is appearing out side of Image
<jp.co.cyberagent.android.gpuimage.GPUImageView
android:id="@+id/photoViewId"
android:layout_width="match_parent"
android:layout_height="0dp"
app:gpuimage_show_loading="false"
app:gpuimage_surface_type="texture_view"
app:layout_constraintBottom_toTopOf="@+id/sliderId"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
in Code
private val scaleType = GPUImage.ScaleType.CENTER_INSIDE;
binding.photoViewId.setScaleType(scaleType)
When Slider value is <1.0f less then occur the problem only GPUImageContrastFilter