Autor Beitrag
Felixcate07
Hält's aus hier
Beiträge: 14



BeitragVerfasst: Di 09.01.07 14:15 
Hallo,

wie kann ich ein Bild vom Typ GIF anzeigen lassen?

Mit der Image Komponete wird nix angezeigt.

Danke

Gruß Tobi
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Di 09.01.07 14:19 
jedi

lg el

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
azrael_7
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 78

Windows Vista
D2005 Pers. [de]
BeitragVerfasst: Di 09.01.07 14:40 
zur Laufzeit das Bild zuweisne sollte auch gehen. (TImage.Picture.Graphic)

_________________
-·- Es gibt Leute die bringen Freude, wohin sie gehen -·-
-·- und es gibt Leute, die bringen Freude, wenn sie gehen -·-
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Di 09.01.07 14:41 
user profile iconazrael_7 hat folgendes geschrieben:
zur Laufzeit das Bild zuweisne sollte auch gehen. (TImage.Picture.Graphic)

Ohne Gif-Loader wirds nix.

Nimm Suche in: Delphi-Forum, Delphi-Library GIFIMAGE oder Suche in: Delphi-Forum, Delphi-Library GRAPHICEX(würd ich eher nehmen, weils noch n paar mehr Formate kann)

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Felixcate07 Threadstarter
Hält's aus hier
Beiträge: 14



BeitragVerfasst: Di 09.01.07 15:00 
Titel: Jedi
ich habe jedi eingebunden installiert jetzt findet er die dcu komponenten nicht woran liegt das
espen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 90
Erhaltene Danke: 1


D6 Prof./D7 Prof. MSSQL, MySQL
BeitragVerfasst: Mi 10.01.07 12:17 
Geht auch ohne Jedi. mit TOleGraphic. Im folgenden Beispiel wird in ein Image (SampleImage) ein
GIF ('C:\...\test.gif') geladen.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
uses 
  ...
  axCtrls;
   
...

procedure TForm1.Button1Click(Sender: TObject);
var
  OleGraphic : TOleGraphic;
  fs         : TFileStream;
begin
  OleGraphic := TOleGraphic.Create;
  try
    fs := TFileStream.Create('C:\...\test.gif', fmOpenRead or fmSharedenyNone);
    OleGraphic.LoadFromStream(fs);
    SampleImage.Picture.Assign(OleGraphic);
  finally
    fs.Free;
    OleGraphic.Free
  end;
end;
Harry M.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Mi 10.01.07 12:21 
Es gibt auch eine GifImages-Unit :)
Die einbinden, fertig.

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
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: Mi 10.01.07 12:29 
Titel: Re: Jedi
user profile iconFelixcate07 hat folgendes geschrieben:
ich habe jedi eingebunden installiert jetzt findet er die dcu komponenten nicht woran liegt das

Hmm, seltsam, eigentlich sollte der JEDI-Installer alles korrekt einrichten. Da es in deinem Profil nicht steht: Welche Delphi-Version hast du?
Und welche Fehlermeldung kommt genau?