Autor Beitrag
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Mi 31.07.02 14:48 
Hallo,

mein Programm erzeugt ein paar Schwarz/Weiß Grafiken. Um diese als bmp abspeichern zu können werden sie in einem tImage gezeichnet.
Da ich nur 2 Farben verwende sollen die bilder auch nur mit einer ensprechend geringen Farbtiefe gespeichert werden. Ist dies möglich? Wenn ja wie?

Danke im vorraus
Klabautermann
Steffer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 299



BeitragVerfasst: Do 01.08.02 19:13 
Schau dir mal TBitmap.Pixelformat an..

_________________
Keine Signatur ...
MathiasH
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 699

WinXP, Win98SE, Debian, Win95
D5 Stand, D6 Prof
BeitragVerfasst: Do 01.08.02 20:19 
so geht's :idea:
ausblenden Quelltext
1:
Bitmap.PixelFormat := pf1bit;					

billig oder :idea:

PS hast du schon brav dein ret-File abgeschickt(no9) :?:

MathiasH

_________________
"Viel von sich reden, kann auch ein Mittel sein, sich zu verbergen."
Friedrich Nietzsche
Klabautermann Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Do 01.08.02 21:59 
Hallo,

danke euch beiden.

MathiasH hat folgendes geschrieben:
so geht's :idea:
ausblenden Quelltext
1:
Bitmap.PixelFormat := pf1bit;					

billig oder :idea:

Ja, wie immer. Finden ist das Problem. Danke, werde ich morgen dann mal umsetzen.

MathiasH hat folgendes geschrieben:
PS hast du schon brav dein ret-File abgeschickt(no9) :?:


Klar und ein neues Kapitel im Aufklärungsunterricht aufgeschlagen :D

Gruß
Klabautermann