Autor Beitrag
Fischman
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: So 24.08.03 20:27 
Hallo Leute,
ich habe mal da eine frage an euch.Über ein OpenDialog1 lade ich bmp Bilder in ein Image1,jetzt will ich das gleiche mit ein jpd Bild machen.Wer kann mir da weiter helfen.

Gruß Uwe
sCrAPt
Gast
Erhaltene Danke: 1



BeitragVerfasst: So 24.08.03 21:14 
Da ich noch nie was von JPD gehört habe würd ich sagen das du da bei den Delphi-Komponenten nicht fündig wirst. Guck doch mal bei Torry ob du da eine Komponente findest
Fischman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Mo 25.08.03 05:18 
Da habe ich mir doch glatt verschrieben es war ein JPG.Kann ja mal vorkommen.

Gruß Uwe
sCrAPt
Gast
Erhaltene Danke: 1



BeitragVerfasst: Mo 25.08.03 06:01 
Ab D4 kannst du JPEG via OI (Objekt Inspektor (IDE)) in TImage laden.
Bei Ereignissen:Image.picture.loadfromfile('deinbild.jpg');
Setsuna Meio
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 70

Windows
Delphi
BeitragVerfasst: Mo 25.08.03 07:11 
Huhu,

einfach die Unit "Jpeg" einbinden, dann kann das Image auch .jpg.

^^

_________________
Pluto, schicke das Feuer der Tiefe...
Fischman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Mo 25.08.03 20:22 
So Leute,
beim Laden kommt die Fehlermeldung "Unbekannte Bilddateierweiterung(.jpg)" aber als jpg kann ich die ganze sache speichern.Also kann ja bloß nur noch ein kleiner Hacken an der sache sein oder nicht.

:)

Gruß Uwe
Fischman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Mo 25.08.03 20:27 
Gut hat sich alles erledigt.Habe selber ein Fehler gemacht.
Dann noch besten Dank.

Gruß Uwe
dr.niemand
Hält's aus hier
Beiträge: 12



BeitragVerfasst: Fr 12.09.03 20:29 
und. was war dein fehler??
bzw. wie geht das mit gif, tiff, bmp,..... den openpicturdialog kann cih leider net gebrachen ... mit dem würds gehen :-(
dr.niemand
Hält's aus hier
Beiträge: 12



BeitragVerfasst: Fr 12.09.03 20:35 
und: wie kann ich ne datei von nem internetserver (also http) in ein image laden?


---
sry für das doppelpost
DelphiFreund
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 120

Win XP
D7 Enterprise
BeitragVerfasst: Fr 30.07.04 15:06 
Ich hab dabei leider ein kleines Problem:
Wenn ich danach ein anderes *.jpg Bild laden will kommt die Fehlermeldung:
'Ein Bild kann nur geändert werden, wenn es eine Bitmap enthält'.

Kann mir jemand helfen :?: +

Danke im vorraus

Gruß DelphiFreund
fcg
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 360

WinXP
D3 Prof, D6 Pers
BeitragVerfasst: Fr 30.07.04 16:25 
ausblenden Delphi-Quelltext
1:
Image1.Picture.LoadFromFile('bla.jpg');					


das einfach immer wieder benutzen. Das geht zumindest bei mir immer!

fcg

_________________
.: Wer für alles offen ist, kann nicht ganz dicht sein! :.