F
Frank Trebus
I´ve created a Bitmap in C# during runtime from a lbl-Field:
Bitmap noise = new Bitmap(lblPaint.Width, lblPaint.Height,
PixelFormat.Format16bppRgb555);
System.Drawing.Bitmap flag = new System.Drawing.Bitmap(10, 10);
for( int x = 0; x < flag.Height; ++x )
{
for( int y = 0; y < flag.Width; ++y )
{
noise.SetPixel( x, y, flag.GetPixel(x,y));
}
}
How can I save this image to a file ? (Streams, Filewriter ?).
Thanks,
F.Trebus
--
MfG FT
Auf dieses Posting bitte nicht via E-Mail antworten !
Diese E-Mail-Adresse ist nur im Usenet gültig und wird nicht
abgerufen !
Bitmap noise = new Bitmap(lblPaint.Width, lblPaint.Height,
PixelFormat.Format16bppRgb555);
System.Drawing.Bitmap flag = new System.Drawing.Bitmap(10, 10);
for( int x = 0; x < flag.Height; ++x )
{
for( int y = 0; y < flag.Width; ++y )
{
noise.SetPixel( x, y, flag.GetPixel(x,y));
}
}
How can I save this image to a file ? (Streams, Filewriter ?).
Thanks,
F.Trebus
--
MfG FT
Auf dieses Posting bitte nicht via E-Mail antworten !
Diese E-Mail-Adresse ist nur im Usenet gültig und wird nicht
abgerufen !