| |
|
|
Uwe ''Pascal'' Niemeier | Hi people!
here one Mini-example, circa EXIF- and other Data from one photo To detect. with the explanation the Rückgabewerte hapert it though yet is too only one Zufallsprodukt; Perhaps can Yes someone More so begin as i. CompileMarkSeparationwindow 600,600
$H Windows.ph
$H ocx3a.ph
$I ocx3a.inc
ocxInit()
'
var File$="C:\1Test\Foto.JPG"
'
var Liste&=create("GridBox",%hwnd,"Name;0;250;Wert;0;250;",0,10,10,550,530)
'
var Image&=ocxCreate("WIA.ImageFile")
ocxMethod(Image&,"LoadFile",File$)
var Properties&=ocxGet(Image&,"Properties")
'
declare Info&
whileloop 1,ocxGet(Properties&,"Count")
Info&=ocxGet(Properties&,"Item",&loop)
addstring(Liste&,ocxGet(Info&,"Name")+"|"+ocxGet(Info&,"Value"))
ocxRelease(Info&)
endwhile
'
ocxRelease(Properties&,Image&)
ocxDeInit()
waitkey
SeeYou Pascal |
|
|
| |
|
|