Hallo,
hab schon gesucht, aber irgendwie Hirnblockade...
Mit was für einen Behehl kann ich ein Bild aufhellen??
z.B. so:
Bild.heller
Mein Code derzeit:
Alex
hab schon gesucht, aber irgendwie Hirnblockade...
Mit was für einen Behehl kann ich ein Bild aufhellen??
z.B. so:
Bild.heller
Mein Code derzeit:
VB.NET-Quellcode
- PicBox1_Breite = pb1.Width
- Dim a_H = (pb1.Height / 3 * 2) - 11
- Dim a_W = pb1.Width
- Dim c_H = (pb1.Height / 3 * 2) / 3
- Dim c_W = pb1.Width
- Dim a As New Bitmap(Bitmap.FromFile(Doc_ThumbnailFullPfad), a_W, a_H) ' 1240, 1754)
- Dim c As New Bitmap(Bitmap.FromFile(Doc_ThumbnailFullPfad), c_W, (c_H + 50)) '1240, 877)
- c.RotateFlip(RotateFlipType.RotateNoneFlipY)
- Dim b As New Bitmap(pb1.Width, pb1.Height)
- Dim g As Graphics = Graphics.FromImage(b)
- g.DrawImage(a, 0, 0)
- Dim p As Pen
- p = New Pen(System.Drawing.Color.Black)
- g.DrawLine(p, 0, (a.Height + 5), a.Width, (a.Height + 5))
- g.DrawImage(c, 0, (a.Height + 11))
- g.InterpolationMode = Drawing2D.InterpolationMode.HighQualityBicubic
- Me.pb1.SizeMode = PictureBoxSizeMode.Zoom
Alex