Autor Beitrag
Jukka
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 107

Win XP Pro
Delphi 7
BeitragVerfasst: Mi 06.09.06 18:01 
Hallo,

erstmal vorweg, ja ich hab die suche genutzt: GraphixEx und TGirmImage 2.2 fand ich jedoch gibt es porobleme

TGifImage 2.2 wenn ich die unit in die uses setze startet mein programm nichtmehr, und MIt GrafpixEx komme ich nicht zurecht.

Kann mir jemand helfen? ich will ein Gif (mit transparenz) in einem Image anzeigen lassen jedoch will dies nicht so recht

Danke im Vorraus

MfG Ju
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mi 06.09.06 18:10 
Ich würde mal vorschlagen, dass wir die Ursachen von deinen Problemen mal suchen. Wo hängt es denn? Welche Fehler treten auf? Was geht nicht mehr?

Gruß alias5000

_________________
Programmers never die, they just GOSUB without RETURN
Jukka Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 107

Win XP Pro
Delphi 7
BeitragVerfasst: Mi 06.09.06 18:13 
TGifImage: Programm startet beim einbinden der Komponente nichtmehr, warum? kA

GraphicsEx: Ich komme damit überhauppt nicht zurecht ich hab aus dem beispiel was eigenes gecodet jedoch geht dies nicht es kommt immer der fehler:

".gif ist keine gültige Dateierweiterung" <- in TImage auch
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 06.09.06 18:25 
Nach Einbinden von GifImage müßte die "normale" TImage-Komponente Gif verstehen.

_________________
Markus Kinzler.
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mi 06.09.06 18:30 
GraphicEx:
entsprechende Unit (weiß grad net welche, müsste aber die Hauptunit sein. SChau mal in die Hilfe von dem) in die Uses Klausel deines Projekts. Und dann versuche ganz einfach mal mit dem TImage eine *.gif Datei zu laden. Über den ganz normalen Weg.

Gruß alias5000

_________________
Programmers never die, they just GOSUB without RETURN
Niko S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 566
Erhaltene Danke: 10

Win 7, Ubuntu
Lazarus, Turbo Delphi, Delphu 7 PE
BeitragVerfasst: Mi 06.09.06 18:41 
Zitat:
Nach Einbinden von GifImage müßte die "normale" TImage-Komponente Gif verstehen.

Nein ^^ beimir zumidnest nicht ode rich bin zu doof das einzubinden XD
Ich probier mal dieses andere aus ..
Hab nämlich die selben probleme
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 06.09.06 18:56 
Hab grad nochmal ausprobiert. Dies funktioniert:
ausblenden volle Höhe Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, GifImage, StdCtrls, ExtCtrls;

type
  TForm1 = class(TForm)
    Image: TImage;
    Button: TButton;
    procedure ButtonClick(Sender: TObject);
  private
    { Private-Deklarationen }
  public
    { Public-Deklarationen }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm4.ButtonClick(Sender: TObject);
begin
   Image.Picture.LoadFromFile('C:\Python23\tcl\tk8.4\demos\images\earth.gif');
end;

end.

_________________
Markus Kinzler.
Jukka Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 107

Win XP Pro
Delphi 7
BeitragVerfasst: Mi 06.09.06 19:00 
user profile iconmkinzler hat folgendes geschrieben:
Nach Einbinden von GifImage müßte die "normale" TImage-Komponente Gif verstehen.


Hm es ist komsic, wenn ich das bei den Demoprogrammen mache geht es nicht, aber bei mir geht es,

Dankeschön
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Mi 06.09.06 19:01 
Einfach bei Uses GifImage mit angeben, falls Fehler wird nicht gefu...etc. einfach die Unit den Ordner deiner Anwendung kopieren dann müsste es klappen.
Ich habe für GifImage keine extra Komponente hab die Unit ins Bin Verzeichnis kopiert und es klappt mit der normalen Image Komponente.