Autor Beitrag
webbi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 142

Win XP Pro SP2, Debian GNU/Linux 2.6
D5 Pro, D7 Pro, BDS2006, Kylix3, MS-VS 2005
BeitragVerfasst: Mi 30.03.05 15:58 
:eyes: Hallo Leute! :eyes:

Wie kann ich ein TBitMap auf eine bestimmte Größe strecken?

Ich möchte ein Bild öffnen, die Größe ändern und dann mit der neuen Größe wieder abspeichern...
Karlson
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 2088



BeitragVerfasst: Mi 30.03.05 16:18 
Schau dir mal Image1.stretch := true an.

Danach musst du das Bild aber mittels Screenshot abspeichern, wenn die neue Form behalten werden soll.
webbi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 142

Win XP Pro SP2, Debian GNU/Linux 2.6
D5 Pro, D7 Pro, BDS2006, Kylix3, MS-VS 2005
BeitragVerfasst: Mi 30.03.05 16:23 
user profile iconKarlson hat folgendes geschrieben:
Schau dir mal Image1.stretch := true an.

Danach musst du das Bild aber mittels Screenshot abspeichern, wenn die neue Form behalten werden soll.


Gibt es da auch eine "saubere" Lösung?

Außerdem soll das ganze als Dienst laufen - also wird das mit dem ScreenShot schwierig...
OneOfTen
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 30.03.05 16:35 
Canvas.StretchDraw, guck in die OH
webbi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 142

Win XP Pro SP2, Debian GNU/Linux 2.6
D5 Pro, D7 Pro, BDS2006, Kylix3, MS-VS 2005
BeitragVerfasst: Mi 30.03.05 17:09 
Das hab ich gesucht!

Danke!