简单的图片处理器(设置色相,亮度,饱和度)

编程入门 行业动态 更新时间:2024-10-08 18:38:07

简单的图片处理器(设置色相,亮度,<a href=https://www.elefans.com/category/jswz/34/1746404.html style=饱和度)"/>

简单的图片处理器(设置色相,亮度,饱和度)

首先前台布局就是选择的一张图片,还有三个设置三种颜色参数的seekbar


<LinearLayout xmlns:android=""
    xmlns:tools=""
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >


    <LinearLayout android:layout_height="0dp"
        android:layout_width="fill_parent"
        android:layout_weight="1">


        <ImageView
            android:id="@+id/imageView1"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:src="@drawable/touxiang" />
        
    </LinearLayout>
    
     <LinearLayout android:layout_height="50dp"
        android:layout_width="fill_parent">


         <SeekBar
             android:id="@+id/rotateseekBar"
             android:layout_width="match_parent"
             android:layout_marginLeft="20dp"
             android:layout_marginRight="20dp"
             android:layout_height="wrap_content"
             android:layout_weight="1"
android:layout_gravity="center_vertical"/>
         
     </LinearLayout>
    
      <LinearLayout android:layout_height="50dp"
        android:layout_width="fill_parent">


         <SeekBar
             android:id="@+id/saturationseekBar"
             android:layout_width="match_parent"
             android:layout_marginLeft="20dp"
             android:layout_marginRight="20dp"
             android:layout_height="wrap_content"
             android:layout_weight="1"

更多推荐

简单的图片处理器(设置色相,亮度,饱和度)

本文发布于:2024-02-07 11:26:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1756349.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:饱和度   色相   亮度   处理器   简单

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!