![]() |
Ungültige Grafikgröße bei Imagelist!
Ich habe ein Problem. Das ist der Code:
Delphi-Quellcode:
Ich bekomme eine Meldung, wenn meine "animationen" größer sind als das Bild, die Meldung "Ungültige Grafikgröße".
...
var animationen:Array [0..10] of TImagelist; ... if(OpenPictureDialog1.Execute) then begin Image1.Picture.Bitmap.LoadFromFile(OpenPictureDialog1.FileName); animationen[0].Width := 200; animationen[0].Height := 200; button3.Enabled := true; for i := 0 to max do if(bilder < i) then begin animationen[0].Add(image1.picture.bitmap,image1.Picture.Bitmap); inc(bilder); break; end; end; Danke! Max |
Re: Ungültige Grafikgröße bei Imagelist!
Zitat:
kann es daran liegen? Zitat:
|
Re: Ungültige Grafikgröße bei Imagelist!
Ja, aber in einer Imagelist kann man doch auch die Bilder stretchen!! muss ich das machen, bevor ich die Bilder in die Imagelist lade?
|
Re: Ungültige Grafikgröße bei Imagelist!
Mein Bild hat eine Größe von 100 *100. Meine Imagelist hat aber eine Größe von 200 *200. Wie kann ich dieses Bild in die Imagelist laden, ohne dass ich die Meldung bekomme: "Ungültige Grafikgröße"?
Danke! |
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:35 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz