Autor Beitrag
Philipp_Reitter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Do 23.08.07 10:39 
hi

wie der titel schon sagt kann ich mittlerweile text in meinem Bitmaps verstecken!
nur kann man und wenn ja ansatzweiße wie? dateien reinpacken?

Mfg
Philipp
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Do 23.08.07 10:47 
Betrachte die Dateien Byte für Byte und packe je ein Bit in einen Pixel des Bildes. Oder halt drei Bit pro Pixel bei einem 24-Bit-Bitmap - ein Bit pro Farbkanal und Pixel. Im wesentlichen also dasselbe Verfahren wie beim Text.

_________________
We are, we were and will not be.
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Do 23.08.07 12:00 
ok aber wie kann ich sagen

file.bit[x]

oder so in der art...!?

mfg
Philipp
Chryzler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1097
Erhaltene Danke: 2



BeitragVerfasst: Do 23.08.07 12:18 
Zuerst musst du per Suche in der Entwickler-Ecke TFILESTREAM deine Datei öffnen und in einen Puffer einlesen. Dann kannst du dir jedes einzelne Byte in deinem Puffer vorknöpfen und dieses in 8 Bits zerteilen.


Zuletzt bearbeitet von Chryzler am Do 23.08.07 12:25, insgesamt 1-mal bearbeitet
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Do 23.08.07 12:25 
thx... ich schau mal was sich machen lässt... frag dann beim zusammenbauen der daten wieder ^^