GDI+(2.图像处理)

1.底片效果

namespace Ex13_07
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            //打图像文件
            OpenFileDialog openFileDialog = new OpenFileDialog();
            openFileDialog.Filter = "图像文件(JPeg, Gif, Bmp, etc.)|*.jpg;*.jpeg;*.gif;*.bmp;*.tif; *.tiff; *.png| JPeg 图像文件(*.jpg;*.jpeg)|*.jpg;*.jpeg |GIF 图像文件(*.gif)|*.gif |BMP图像文件(*.bmp)|*.bmp|Tiff图像文件(*.tif;*.tiff)|*.tif;*.tiff|Png图像文件(*.png)| *.png |所有文件(*.*)|*.*";
            if (openFileDialog.ShowDialog() == DialogResult.OK)
            {
                Bitmap MyBitmap = new Bitmap(openFileDialog.FileName);
                this.pictureBox1.Image = MyBitmap;
            }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //以底片效果显示图像
            try
            {
                int Height = this.pictureBox1.Image.Height;
                int Width = this.pictureBox1.Image.Width;
                Bitmap newbitmap = new Bitmap(Width, Height);
                Bitmap oldbitmap = (Bitmap)this.pictureBox1.Image;
                Color pixel;
                for (int x = 1; x < Width; x++)
                {
                    for (int y = 1; y < Height; y++)
                    {
                        int r, g, b;
                        pixel = oldbitmap.GetPixel(x, y);
                        r = 255 - pixel.R;
                        g = 255 - pixel.G;
                        b = 255 - pixel.B;
                        newbitmap.SetPixel(x, y, Color.FromArgb(r, g, b));
                    }
                }
                this.pictureBox1.Image = newbitmap;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
    }
}

2.浮雕效果

private void button1_Click(object sender, EventArgs e)
{
    //以浮雕效果显示图像
    try
    {
        int Height = this.pictureBox1.Image.Height;
        int Width = this.pictureBox1.Image.Width;
        Bitmap newBitmap = new Bitmap(Width, Height);
        Bitmap oldBitmap = (Bitmap)this.pictureBox1.Image;
        Color pixel1, pixel2;
        for (int x = 0; x < Width - 1; x++)
        {
            for (int y = 0; y < Height - 1; y++)
            {
                int r = 0, g = 0, b = 0;
                pixel1 = oldBitmap.GetPixel(x, y);
                pixel2 = oldBitmap.GetPixel(x + 1, y + 1);
                r = Math.Abs(pixel1.R - pixel2.R + 128);
                g = Math.Abs(pixel1.G - pixel2.G + 128);
                b = Math.Abs(pixel1.B - pixel2.B + 128);
                if (r > 255)
                    r = 255;
                if (r < 0)
                    r = 0;
                if (g > 255)
                    g = 255;
                if (g < 0)
                    g = 0;
                if (b > 255)
                    b = 255;
                if (b < 0)
                    b = 0;
                newBitmap.SetPixel(x, y, Color.FromArgb(r, g, b));
            }
        }
        this.pictureBox1.Image = newBitmap;
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message, "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
    }
}


3.黑白效果

private void button1_Click(object sender, EventArgs e)
{
    //以黑白效果显示图像
    try
    {
        int Height = this.pictureBox1.Image.Height;
        int Width = this.pictureBox1.Image.Width;
        Bitmap newBitmap = new Bitmap(Width, Height);
        Bitmap oldBitmap = (Bitmap)this.pictureBox1.Image;
        Color pixel;
        for (int x = 0; x < Width; x++)
            for (int y = 0; y < Height; y++)
            {
                pixel = oldBitmap.GetPixel(x, y);
                int r, g, b, Result = 0;
                r = pixel.R;
                g = pixel.G;
                b = pixel.B;
                //实例程序以加权平均值法产生黑白图像
                int iType =2;
                switch (iType)
                {
                    case 0://平均值法
                        Result = ((r + g + b) / 3);
                        break;
                    case 1://最大值法
                        Result = r > g ? r : g;
                        Result = Result > b ? Result : b;
                        break;
                    case 2://加权平均值法
                        Result = ((int)(0.7 * r) + (int)(0.2 * g) + (int)(0.1 * b));
                        break;
                }
                newBitmap.SetPixel(x, y, Color.FromArgb(Result, Result, Result));
            }
        this.pictureBox1.Image = newBitmap;
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message, "信息提示");
    }
}


4.柔化效果

private void button1_Click(object sender, EventArgs e)
{
    //以柔化效果显示图像
    try
    {
        int Height = this.pictureBox1.Image.Height;
        int Width = this.pictureBox1.Image.Width;
        Bitmap bitmap = new Bitmap(Width, Height);
        Bitmap MyBitmap = (Bitmap)this.pictureBox1.Image;
        Color pixel;
        //高斯模板
        int[] Gauss ={ 1, 2, 1, 2, 4, 2, 1, 2, 1 };
        for (int x = 1; x < Width - 1; x++)
            for (int y = 1; y < Height - 1; y++)
            {
                int r = 0, g = 0, b = 0;
                int Index = 0;
                for (int col = -1; col <= 1; col++)
                    for (int row = -1; row <= 1; row++)
                    {
                        pixel = MyBitmap.GetPixel(x + row, y + col);
                        r += pixel.R * Gauss[Index];
                        g += pixel.G * Gauss[Index];
                        b += pixel.B * Gauss[Index];
                        Index++;
                    }
                r /= 16;
                g /= 16;
                b /= 16;
                //处理颜色值溢出
                r = r > 255 ? 255 : r;
                r = r < 0 ? 0 : r;
                g = g > 255 ? 255 : g;
                g = g < 0 ? 0 : g;
                b = b > 255 ? 255 : b;
                b = b < 0 ? 0 : b;
                bitmap.SetPixel(x - 1, y - 1, Color.FromArgb(r, g, b));
            }
        this.pictureBox1.Image = bitmap;
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message, "信息提示");
    }
}

5.锐化效果

private void button1_Click(object sender, EventArgs e)
{
    //以锐化效果显示图像
    try
    {
        int Height = this.pictureBox1.Image.Height;
        int Width = this.pictureBox1.Image.Width;
        Bitmap newBitmap = new Bitmap(Width, Height);
        Bitmap oldBitmap = (Bitmap)this.pictureBox1.Image;
        Color pixel;
        //拉普拉斯模板
        int[] Laplacian ={ -1, -1, -1, -1, 9, -1, -1, -1, -1 };
        for (int x = 1; x < Width - 1; x++)
            for (int y = 1; y < Height - 1; y++)
            {
                int r = 0, g = 0, b = 0;
                int Index = 0;
                for (int col = -1; col <= 1; col++)
                    for (int row = -1; row <= 1; row++)
                    {
                        pixel = oldBitmap.GetPixel(x + row, y + col); r += pixel.R * Laplacian[Index];
                        g += pixel.G * Laplacian[Index];
                        b += pixel.B * Laplacian[Index];
                        Index++;
                    }
                //处理颜色值溢出
                r = r > 255 ? 255 : r;
                r = r < 0 ? 0 : r;
                g = g > 255 ? 255 : g;
                g = g < 0 ? 0 : g;
                b = b > 255 ? 255 : b;
                b = b < 0 ? 0 : b;
                newBitmap.SetPixel(x - 1, y - 1, Color.FromArgb(r, g, b));
            }
        this.pictureBox1.Image = newBitmap;
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message, "信息提示");
    }
}

6.雾化效果

private void button1_Click(object sender, EventArgs e)
{
    //以雾化效果显示图像
    try
    {
        int Height = this.pictureBox1.Image.Height;
        int Width = this.pictureBox1.Image.Width;
        Bitmap newBitmap = new Bitmap(Width, Height);
        Bitmap oldBitmap = (Bitmap)this.pictureBox1.Image;
        Color pixel;
        for (int x = 1; x < Width - 1; x++)
            for (int y = 1; y < Height - 1; y++)
            {
                System.Random MyRandom = new Random();
                int k = MyRandom.Next(123456);
                //像素块大小
                int dx = x + k % 19;
                int dy = y + k % 19;
                if (dx >= Width)
                    dx = Width - 1;
                if (dy >= Height)
                    dy = Height - 1;
                pixel = oldBitmap.GetPixel(dx, dy);
                newBitmap.SetPixel(x, y, pixel);
            }
        this.pictureBox1.Image = newBitmap;
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message, "信息提示");
    }
}

7.光照效果

private void button1_Click(object sender, EventArgs e)
{
    //以光照效果显示图像
    Graphics MyGraphics = this.pictureBox1.CreateGraphics();
    MyGraphics.Clear(Color.White);
    Bitmap MyBmp = new Bitmap(this.pictureBox1.Image, this.pictureBox1.Width, this.pictureBox1.Height);
    int MyWidth = MyBmp.Width;
    int MyHeight = MyBmp.Height;
    Bitmap MyImage = MyBmp.Clone(new RectangleF(0, 0, MyWidth, MyHeight), System.Drawing.Imaging.PixelFormat.DontCare);
    int A = Width / 2;
    int B = Height / 2;
    //MyCenter图片中心点,发亮此值会让强光中心发生偏移
    Point MyCenter = new Point(MyWidth / 2, MyHeight / 2);
    //R强光照射面的半径,即”光晕”
    int R = Math.Min(MyWidth / 2, MyHeight / 2);
    for (int i = MyWidth - 1; i >= 1; i--)
    {
        for (int j = MyHeight - 1; j >= 1; j--)
        {
            float MyLength = (float)Math.Sqrt(Math.Pow((i - MyCenter.X), 2) + Math.Pow((j - MyCenter.Y), 2));
            //如果像素位于”光晕”之内
            if (MyLength < R)
            {
                Color MyColor = MyImage.GetPixel(i, j);
                int r, g, b;
                //220亮度增加常量,该值越大,光亮度越强
                float MyPixel = 220.0f * (1.0f - MyLength / R);
                r = MyColor.R + (int)MyPixel;
                r = Math.Max(0, Math.Min(r, 255));
                g = MyColor.G + (int)MyPixel;
                g = Math.Max(0, Math.Min(g, 255));
                b = MyColor.B + (int)MyPixel;
                b = Math.Max(0, Math.Min(b, 255));
                //将增亮后的像素值回写到位图
                Color MyNewColor = Color.FromArgb(255, r, g, b);
                MyImage.SetPixel(i, j, MyNewColor);
            }
        }
        //重新绘制图片
        MyGraphics.DrawImage(MyImage, new Rectangle(0, 0, MyWidth, MyHeight));
    }
}

8.百叶窗效果

private void button1_Click(object sender, EventArgs e)
{
    //垂直百叶窗显示图像
    try
    {
        MyBitmap = (Bitmap)this.pictureBox1.Image.Clone();
        int dw = MyBitmap.Width / 30;
        int dh = MyBitmap.Height;
        Graphics g = this.pictureBox1.CreateGraphics();
        g.Clear(Color.Gray);
        Point[] MyPoint = new Point[30];
        for (int x = 0; x < 30; x++)
        {
            MyPoint[x].Y = 0;
            MyPoint[x].X = x * dw;
        }
        Bitmap bitmap = new Bitmap(MyBitmap.Width, MyBitmap.Height);
        for (int i = 0; i < dw; i++)
        {
            for (int j = 0; j < 30; j++)
            {
                for (int k = 0; k < dh; k++)
                {
                    bitmap.SetPixel(MyPoint[j].X + i, MyPoint[j].Y + k,
    MyBitmap.GetPixel(MyPoint[j].X + i, MyPoint[j].Y + k));
                }
            }
            this.pictureBox1.Refresh();
            this.pictureBox1.Image = bitmap;
            System.Threading.Thread.Sleep(100);
        }
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message, "信息提示");
    }
}

private void button3_Click(object sender, EventArgs e)
{
    //水平百叶窗显示图像
    try
    {
        MyBitmap = (Bitmap)this.pictureBox1.Image.Clone();
        int dh = MyBitmap.Height / 20;
        int dw = MyBitmap.Width;
        Graphics g = this.pictureBox1.CreateGraphics();
        g.Clear(Color.Gray);
        Point[] MyPoint = new Point[20];
        for (int y = 0; y < 20; y++)
        {
            MyPoint[y].X = 0;
            MyPoint[y].Y = y * dh;
        }
        Bitmap bitmap = new Bitmap(MyBitmap.Width, MyBitmap.Height);
        for (int i = 0; i < dh; i++)
        {
            for (int j = 0; j < 20; j++)
            {
                for (int k = 0; k < dw; k++)
                {
                    bitmap.SetPixel(MyPoint[j].X + k, MyPoint[j].Y + i, MyBitmap.GetPixel(MyPoint[j].X + k, MyPoint[j].Y + i));
                }
            }
            this.pictureBox1.Refresh();
            this.pictureBox1.Image = bitmap;
            System.Threading.Thread.Sleep(100);
        }
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message, "信息提示");
    }
}

9.马赛克效果显示或者隐藏图像

private void button1_Click(object sender, EventArgs e)
{
    //以马赛克效果显示图像
    try
    {
        int dw = MyBitmap.Width / 50;
        int dh = MyBitmap.Height / 50;
        Graphics g = this.pictureBox1.CreateGraphics();
        g.Clear(Color.Gray);
        Point[] MyPoint = new Point[2500];
        for (int x = 0; x < 50; x++)
            for (int y = 0; y < 50; y++)
            {
                MyPoint[x * 50 + y].X = x * dw;
                MyPoint[x * 50 + y].Y = y * dh;
            }
        Bitmap bitmap = new Bitmap(MyBitmap.Width, MyBitmap.Height);
        for (int i = 0; i < 10000; i++)
        {
            System.Random MyRandom = new Random();
            int iPos = MyRandom.Next(2500);
            for (int m = 0; m < dw; m++)
                for (int n = 0; n < dh; n++)
                {
                    bitmap.SetPixel(MyPoint[iPos].X + m, MyPoint[iPos].Y + n, MyBitmap.GetPixel(MyPoint[iPos].X + m, MyPoint[iPos].Y + n));
                }
            this.pictureBox1.Refresh();
            this.pictureBox1.Image = bitmap;
        }
        for (int i = 0; i < 2500; i++)
            for (int m = 0; m < dw; m++)
                for (int n = 0; n < dh; n++)
                {
                    bitmap.SetPixel(MyPoint[i].X + m, MyPoint[i].Y + n, MyBitmap.GetPixel(MyPoint[i].X + m, MyPoint[i].Y + n));
                }
        this.pictureBox1.Refresh();
        this.pictureBox1.Image = bitmap;
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message, "信息提示");
    }
}

private void button3_Click(object sender, EventArgs e)
{
    //以马赛克效果隐藏图像
    try
    {
        MyBitmap = (Bitmap)this.pictureBox1.Image.Clone();
        int dw = MyBitmap.Width / 50;
        int dh = MyBitmap.Height / 50;
        Graphics g = this.pictureBox1.CreateGraphics();
        Point[] MyPoint = new Point[2500];
        for (int x = 0; x < 50; x++)
            for (int y = 0; y < 50; y++)
            {
                MyPoint[x * 50 + y].X = x * dw;
                MyPoint[x * 50 + y].Y = y * dh;
            }
        Bitmap bitmap = new Bitmap(MyBitmap.Width, MyBitmap.Height);
        for (int i = 0; i < 2500; i++)
            for (int m = 0; m < dw; m++)
                for (int n = 0; n < dh; n++)
                {
                    bitmap.SetPixel(MyPoint[i].X + m, MyPoint[i].Y + n, MyBitmap.GetPixel(MyPoint[i].X + m, MyPoint[i].Y + n));
                }
        this.pictureBox1.Refresh();
        this.pictureBox1.Image = bitmap;
        bitmap = (Bitmap)this.pictureBox1.Image.Clone();
        for (int i = 0; i < 10000; i++)
        {
            System.Random MyRandom = new Random();
            int iPos = MyRandom.Next(2500);
            for (int m = 0; m < dw; m++)
                for (int n = 0; n < dh; n++)
                {
                    bitmap.SetPixel(MyPoint[iPos].X + m, MyPoint[iPos].Y + n, this.pictureBox1.BackColor);
                }
            this.pictureBox1.Refresh();
            this.pictureBox1.Image = bitmap;
        }
        for (int i = 0; i < 2500; i++)
            for (int m = 0; m < dw; m++)
                for (int n = 0; n < dh; n++)
                {
                    bitmap.SetPixel(MyPoint[i].X + m, MyPoint[i].Y + n, this.pictureBox1.BackColor);
                }
        g.Clear(this.pictureBox1.BackColor);
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message, "信息提示");
    }
}


10.油画效果

private void button1_Click(object sender, EventArgs e)
{
    //以油画效果显示图像
    Graphics g = this.panel1.CreateGraphics();
    //Bitmap bitmap = this.MyBitmap;
    //取得图片尺寸
    int width = MyBitmap.Width;
    int height = MyBitmap.Height;
    RectangleF rect = new RectangleF(0, 0, width, height);
    Bitmap img = MyBitmap.Clone(rect, System.Drawing.Imaging.PixelFormat.DontCare);
    //产生随机数序列
    Random rnd = new Random();
    //取不同的值决定油画效果的不同程度
    int iModel = 2;
    int i = width - iModel;
    while (i > 1)
    {
        int j = height - iModel;
        while (j > 1)
        {
            int iPos = rnd.Next(100000) % iModel;
            //将该点的RGB值设置成附近iModel点之内的任一点
            Color color = img.GetPixel(i + iPos, j + iPos);
            img.SetPixel(i, j, color);
            j = j - 1;
        }
        i = i - 1;
    }
    //重新绘制图像
    g.Clear(Color.White);
    g.DrawImage(img, new Rectangle(0, 0, width, height)); 
}
}

11.扭曲效果

private void button1_Click(object sender, EventArgs e)
{
   //以扭曲效果显示图像——缩放为非矩形的平行四边形
    if (h == panel1.Height/2)
    {
        w = 0;
        h = 0;
    }
    Size offset =new Size (w++,h++);//设置偏移量
    Graphics g = panel1.CreateGraphics();
    Rectangle rect = this.panel1.ClientRectangle;
    Point[] points = new Point[3];
    points[0] = new Point(rect.Left+offset.Width ,rect.Top +offset .Height);
    points[1] = new Point(rect.Right, rect.Top + offset.Height);
    points[2] = new Point(rect.Left, rect.Bottom - offset.Height);
    g.Clear(Color.White);
    g.DrawImage(MyBitmap, points);
}

/// 正弦曲线Wave扭曲图片  
///   
/// 原图片  
/// 如果扭曲则选择为True  
/// 波形的幅度倍数,越大扭曲的程度越高,一般为3  
/// 波形的起始相位,取值区间[0-2*PI)  
public Bitmap TwistImage(Bitmap srcBmp, bool bXDir, double dMultValue, double dPhase)  
{  
    double PI = 6.283185307179586476925286766559;  
    Bitmap destBmp = new Bitmap(srcBmp.Width, srcBmp.Height);  
    Graphics graph = Graphics.FromImage(destBmp);  
    graph.FillRectangle(new SolidBrush(Color.White), 0, 0, destBmp.Width, destBmp.Height);  
    graph.Dispose();  
    double dBaseAxisLen = bXDir ? (double)destBmp.Height : (double)destBmp.Width;  
    for (int i = 0; i < destBmp.Width; i++)  
    {  
        for (int j = 0; j < destBmp.Height; j++)  
        {  
            double dx = 0;  
            dx = bXDir ? (PI * (double)j) / dBaseAxisLen : (PI * (double)i) / dBaseAxisLen;  
            dx += dPhase;  
            double dy = Math.Sin(dx);  
            int nOldX = 0, nOldY = 0;  
            nOldX = bXDir ? i + (int)(dy * dMultValue) : i;  
            nOldY = bXDir ? j : j + (int)(dy * dMultValue);  
            Color color = srcBmp.GetPixel(i, j);  
            if (nOldX >= 0 && nOldX < destBmp.Width && nOldY >= 0 && nOldY < destBmp.Height)  
            { destBmp.SetPixel(nOldX, nOldY, color); }  
        }  
    }  
    srcBmp.Dispose();  
    return destBmp;  
}

12.分块效果

private void button1_Click(object sender, EventArgs e)
{
    //以分块效果显示图像
    Graphics g = this.panel1.CreateGraphics();
    g.Clear(Color.White);
    int width = MyBitmap.Width;
    int height = MyBitmap.Height;
    //定义将图片切分成四个部分的区域
    RectangleF[] block ={
			new RectangleF(0,0,width/2,height/2),
			new RectangleF(width/2,0,width/2,height/2),
			new RectangleF(0,height/2,width/2,height/2),
			new RectangleF(width/2,height/2,width/2,height/2)};
    //分别克隆图片的四个部分	
    Bitmap[] MyBitmapBlack ={
        MyBitmap.Clone(block[0],System.Drawing.Imaging.PixelFormat.DontCare),
        MyBitmap.Clone(block[1],System.Drawing.Imaging.PixelFormat.DontCare),
        MyBitmap.Clone(block[2],System.Drawing.Imaging.PixelFormat.DontCare),
        MyBitmap.Clone(block[3],System.Drawing.Imaging.PixelFormat.DontCare)};
    //绘制图片的四个部分,各部分绘制时间间隔为0.5秒					
    g.DrawImage(MyBitmapBlack[0], 0, 0);
    System.Threading.Thread.Sleep(500);
    g.DrawImage(MyBitmapBlack[1], width / 2, 0);
    System.Threading.Thread.Sleep(500);
    g.DrawImage(MyBitmapBlack[3], width / 2, height / 2);
    System.Threading.Thread.Sleep(500);
    g.DrawImage(MyBitmapBlack[2], 0, height / 2);
}

13.积木效果

private void button1_Click(object sender, EventArgs e)
{
    //以积木效果显示图像
    try
    {
        Graphics myGraphics = this.panel1.CreateGraphics ();
        //Bitmap myBitmap = new Bitmap(this.BackgroundImage);
        int myWidth, myHeight, i, j, iAvg, iPixel;
        Color myColor, myNewColor;
        RectangleF myRect;
        myWidth = MyBitmap.Width;
        myHeight = MyBitmap.Height;
        myRect = new RectangleF(0, 0, myWidth, myHeight);
        Bitmap bitmap = MyBitmap.Clone(myRect, System.Drawing.Imaging.PixelFormat.DontCare);
        i = 0;
        while (i < myWidth - 1)
        {
            j = 0;
            while (j < myHeight - 1)
            {
                myColor = bitmap.GetPixel(i, j);
                iAvg = (myColor.R + myColor.G + myColor.B) / 3;
                iPixel = 0;
                if (iAvg >= 128)
                    iPixel = 255;
                else
                    iPixel = 0;
                myNewColor = Color.FromArgb(255, iPixel, iPixel, iPixel);
                bitmap.SetPixel(i, j, myNewColor);
                j = j + 1;
            }
            i = i + 1;
        }
        myGraphics.Clear(Color.WhiteSmoke);
        myGraphics.DrawImage(bitmap, new Rectangle(0, 0, myWidth, myHeight));
    }
    catch (Exception ex)
    {
        MessageBox.Show(ex.Message, "信息提示");
    }
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值