Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi Unbekanntes Bildformat? (https://www.delphipraxis.net/101412-unbekanntes-bildformat.html)

calculon 12. Okt 2007 17:29


Unbekanntes Bildformat?
 
N'abend allerseits,

Wenn ich über den OI (Picture) ein Bild in mein TImage laden will, kann ich seit ich JVCL installiert habe, zwischen vielen verschiedenen Bildformaten wählen (auch JPG, das dann ganz normal angezeigt wird).

Jetzt versuche ich mit Image1.Picture.LoadFromFile(meineBilddatei) ein Bild in mein TImage zu laden, das das JPG-Format hat, aber ich bekomme folgende Fehlermeldung:

Zitat:

---------------------------
Debugger Exception Notification
---------------------------
Project myDiaShow.exe raised exception class EInvalidGraphic with message 'Unknown picture file extension (.jpg)'. Process stopped. Use Step or Run to continue.
---------------------------
OK Hilfe
---------------------------
Das kapier' ich nicht...

Gruß

Calculon
--

mkinzler 12. Okt 2007 17:30

Re: Unbekanntes Bildformat?
 
Ist die Jpeg-Unit eingebunden?

calculon 12. Okt 2007 17:52

Re: Unbekanntes Bildformat?
 
Daran lags :-D Danke!

Gruß

Calculon
--


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz