Autor Beitrag
Jojojoxx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Mi 14.01.09 20:19 
Hallo!

Mit welcher Komponente kann ich unter Delphi Bilder des Typs JPEG und BMP aus einer Datei laden und anzeigen lassen? Mit der TImage Komponente bin ich da nicht weitergekommen.
Vielen Dank!
mfg

Jojo
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19329
Erhaltene Danke: 1750

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 14.01.09 20:33 
Zum reinen Anzeigen dieser beiden Formate reicht TImage. Für Jpeg muss nur die gleichnamige Unit in die uses eingebunden werden.

Wenn es noch weitere Formate wie TIFF etc. sein sollen, dann gibt es dafür GraphicEx.
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Mi 14.01.09 21:31 
Alles klar, danke!
Gibt es denn auch Komponenten, die einem das skalieren, weichzeichnen etc.. abnehmen?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19329
Erhaltene Danke: 1750

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 14.01.09 21:58 
Fürs Skalieren gibt es die Eigenschaften Stretch und Proportional. ;-)

Weichzeichnen und andere Effekte musst du selbst implementieren kopieren. :mrgreen: ;-)
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: Mi 14.01.09 22:14 
Alles klar :D
Danke!
mfg

Jojo