Autor Beitrag
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 21.05.05 20:23 
Ich habe eine image komponente einen odendialog und nen button. Wenn man auf den button klickt passiert folgendes:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
with opendialog1 do
begin
if execute then
begin
image1.picture.loadfromfile(filename);
end;
end;

Wenn z.b. eine jpeg-DAtei ausgewählt wurde meldet Delphi einen EInvalidGraphic-Fehler, es soll eineu nbekannte bilddateierweiterung sein. Mit bmp's klappts. Mir will der doch wohl nicht erzählen dass die image-komponente keine jpegs laden kann.

Wat zu tun?


Moderiert von user profile iconraziel: Topic aus Off Topic verschoben am Sa 21.05.2005 um 22:02
Moderiert von user profile iconraziel: Delphi-Tags hinzugefügt.
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Sa 21.05.05 20:35 
die Unit jpeg einbinden. aber was zum T..ino sucht das hier im OffTopic? :roll:

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)