Autor Beitrag
MOEDI
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 52



BeitragVerfasst: Fr 28.01.05 22:12 
Hi.
Ich habe eine Frage:
Kann ich jpeg Bilder in einem Image Feld anzeigen lassen?

Danke im Voraus für alle Antworten.
MOEDI
com-chip
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 27

Win 98
D7 Personal
BeitragVerfasst: Fr 28.01.05 22:34 
Ja, das geht, ich habe es gerade ausprobiert. Ich wusste es aber auch nicht. Dann hätte meine letzte Anwendung ja wesentlich kleiner sein können... Ich hoffe ich konnte helfen.
MOEDI Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 52



BeitragVerfasst: Fr 28.01.05 22:41 
Danke.
Kleine Änderung im Text: :roll:
wie kann ich ein .jpeg oder. jpg Bild mit Hilfe eines OpenPictureDialogs in ein Image Fenster laden?
MOEDI
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8553
Erhaltene Danke: 479

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Fr 28.01.05 22:52 
Hallo und :welcome:

Jaja, man muss seine Frage schon richtig formulieren :lol:

Und das Forum hat auch eine Suchfunktion, und besonders zu diesem Thema gibt es auch schon eine ganze Menge Antworten. Ein Stück Quelltext findet sich z.B. hier.

_________________
We are, we were and will not be.
com-chip
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 27

Win 98
D7 Personal
BeitragVerfasst: Fr 28.01.05 22:55 
OpenPictureDialog??? Noch nie was davon gehört, ach so, das. Hab ich noch nie genutzt. Ich probiere es mal schnell aus. Ist ja fast das selbe wie TOpenDialog, verfügt nur noch über einen zusätzlichen Vorschaubereich, in dem das ausgewählte Bild angezeigt wird, wenn es von TPicture gelesen werden kann. Du, ich glaube das geht mit jpg oder jpeg Dateien nicht. Es werden leider nur die Bild Dateiformate bmp, ico, wmf und emf (erweiterte Windows-Metadatei) unterstützt. Und wenn du dann einen ungültigen Typen wie jpg wählst, dann wird von TPicture eine EInvalidGraphic-Exception ausgelöst. Vielleich gibt es ja andere Mittel wie du das machen kannst. Ich schaue noch einmal.
MOEDI Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 52



BeitragVerfasst: Sa 29.01.05 14:00 
Mein Problem hat sich erledigt. Danke nochmal. :D