Autor Beitrag
muppet max
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 03.03.06 17:35 
Ich möchte ein kleines Programmm programmieren, das Bilder mit Wasserzeichen versehen kann. Mit welchem Befehl kann ich auf das BMP Bild schreiben.

Danke :autsch:
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Sa 04.03.06 16:38 
Hi,

du mußt dein BMP als TBitmap laden. Da kannst du dann via Canvas drauf malen und schreiben :)

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
var
  B: TBitmap;
begin
  B:=TBitmap.Create;
  B.LoadFromFile('C:\blubb.bmp');
  B.Canvas.TextOut(10, 10, "Hello World!");
  B.SaveToFile('C:\blubb.bmp');
  B.Free;
end;


Au'revoir,
Aya

_________________
Aya
I aim for my endless dreams and I know they will come true!
Stefan-W
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 475

Win 7 SP1
D2005 PE
BeitragVerfasst: Sa 04.03.06 20:46 
hier im Forum muss es auch noch einen Beitrag zum einfügen von Text in ein Bild geben. Damit kann man ein BMP ein unsichtbares Wasserzeichen verpassen.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 28

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Sa 04.03.06 20:56 
ja hier gab es ein programm um texte in bmp dateien zu verstecken
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Sa 04.03.06 21:58 
Tja meint mupped max nun sichtbare oder unsichtbare?

Na hier auf jedenfall für das zweite: www.dsdt.info/tutorials/steganographie/