Autor Beitrag
LonghornUser
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: So 05.04.09 19:24 
Hallo,

Kurze Frage: Ist es in Delphi 2009 möglich, ein Icon (*.ico) zu skalieren (natürlich wenn die Ausmaße des Images größer als die des Icons sind) ?

Ich habe keine Option in TImage und TJvImage gefunden (Stretch funktionierte leider nicht).

Habt ihr eine Idee ?

Ciao LHUser
Regan
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: So 05.04.09 19:27 
Hallo,
ich habe das immer so gemacht, dass ich das Symbol als Bitmap konvertiert habe und dann dargestellt habe. Anders scheint es nicht zu gehen.
MfG
Regan
LonghornUser Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: So 05.04.09 19:28 
Naja, dann geht einem aber doch der Vorteil einer ICO-Datei, die 100%-ige Transparenzfähigkeit, verloren ?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 05.04.09 20:32 
Dafür ist eine PNG-Datei wohl besser geeignet, dieses Format unterstützt auch Transparenz und PNG-Unterstützung ist in Delphi 2009 ja bereits eingebaut.