Rassi - Mo 22.02.10 15:12
Titel: Auf Image zeichnen mit dem PixelFormat "Format8bppIndexed"
Hallo.
Ich möchte auf ein Image mit dem Pixelformat "Format8bppIndexed" etwas zeichnen.
Mit:
C#-Quelltext
1:
| Graphics newGraphics = Graphics.FromImage(imageFile); |
gehts ja nicht, da diese Format nicht unterstützt wird.
Geht es irgendwie anders?
Gruß
Rasmus
Kha - Mi 24.02.10 19:00
Rassi hat folgendes geschrieben : |
Geht es irgendwie anders? |
Sieht jedenfalls nicht so aus ;) .
Also musst du ein neues Bitmap mit einem unterstützten Format erstellen und das Image per
DrawImage reinkopieren.