Autor Beitrag
BernddasBrot
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26


D2005
BeitragVerfasst: So 19.12.04 16:30 
Hi,

wie kann man in einem Image das Bild in der x- und y-Achse verdoppeln, bis es die ganze Größe ausfüllt?

BErnddasBrot
Benutzername
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 210

Win XP Pro
Delphi 7 PE, D2005 Prof. SSL
BeitragVerfasst: So 19.12.04 16:42 
Im OI des Image gibts die Eigenschaft Stretch, die macht das ganz gut ;-)
BernddasBrot Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26


D2005
BeitragVerfasst: So 19.12.04 16:46 
ich weiß, aber die streckt das ganze, sodass es ganz pixelig wird. Ich will aber ein Muster verdoppeln, dass es mehrmals nebeneinander und übereinander angezeigt wird

Jean Fleury
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: So 19.12.04 17:08 
ausblenden Delphi-Quelltext
1:
2:
  Image1.Canvas.Brush.Bitmap := <deinBitmap>; // hier brauchst du ein TBitmap-Objekt mit deinem Bild
  PatBlt(Image1.Canvas.Handle, 0, 0, Image1.Width, Image1.Height, PATCOPY);

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
BernddasBrot Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26


D2005
BeitragVerfasst: Fr 11.02.05 21:47 
das ganze geht sehr gut, aber gibt es das auch für JPGs?

BernddasBrot
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Fr 11.02.05 23:40 
Hallo,

wie man ein Bitmap in ein Jpeg umwandelt, findest du hier zu hundertfach im Forum. Der Rest funktioniert genauso.

Gruß Hape!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.