Einzelnen Beitrag anzeigen

Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#5

Re: Bildgröße von .jpg Dateien ermitteln?

  Alt 23. Apr 2005, 15:12
Delphi-Quellcode:
jpg:=TJPEGImage.create;
opendialog1.Execute;
jpg.LoadFromFile(opendialog1.FileName);

image1.Picture.Assign(jpg);
und dann kannst du dir von image1.picture.bitmap width und height holen.(aber nicht von image1 direkt !!)
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat