Image 如何(按像素)对图像进行乘法?
如何(按像素)对图像进行乘法Image 如何(按像素)对图像进行乘法?,image,Image,如何(按像素)对图像进行乘法 请为正在使用的编程语言添加标记。Java?你的代码怎么了? Bitmap first = new Bitmap(pictureBox1.Image); Bitmap second = ProcesarImagen.SetImageOpacity(pictureBox2.Image, 0.5f); Bitmap result = new Bitmap(Math.Max(first.Width, second.Width), Math.Max(first.Height,
请为正在使用的编程语言添加标记。Java?你的代码怎么了?
Bitmap first = new Bitmap(pictureBox1.Image);
Bitmap second = ProcesarImagen.SetImageOpacity(pictureBox2.Image, 0.5f);
Bitmap result = new Bitmap(Math.Max(first.Width, second.Width), Math.Max(first.Height, second.Height));
Console.WriteLine(first.Width);
Graphics g = Graphics.FromImage(result);
g.DrawImageUnscaled(first, 0, 0);
g.DrawImageUnscaled(second, 0, 0);
pictureBox3.Image = result;