EXIF
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 22 times
- Been thanked: 2 times
- Contact:
Re: EXIF
Hello Natter,
Have you found a solution yet? If so, can you please post some source code?
After I couldn't find a quick solution with Fivewin, I tried Javascript. There are ready-made libraries (exif-js) here.
Then I tried to call up the webpage with ActiveX. But now I'm stuck.
I haven't found out whether you can read the document object. Can I exchange data between ActiveX and Fivewin
without going through the hard drive?
Best regards,
Otto
https://www.modharbour.club/exif-js-master/example/index.html
![Image](https://mybergland.com/fwforum/exif.jpg)
Have you found a solution yet? If so, can you please post some source code?
After I couldn't find a quick solution with Fivewin, I tried Javascript. There are ready-made libraries (exif-js) here.
Then I tried to call up the webpage with ActiveX. But now I'm stuck.
I haven't found out whether you can read the document object. Can I exchange data between ActiveX and Fivewin
without going through the hard drive?
Best regards,
Otto
https://www.modharbour.club/exif-js-master/example/index.html
![Image](https://mybergland.com/fwforum/exif.jpg)
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: EXIF
https://docs.microsoft.com/en-us/window ... tadata-use
Maybe our GDI+ experts can help in reading meta-data from the images.
Maybe our GDI+ experts can help in reading meta-data from the images.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 22 times
- Been thanked: 2 times
- Contact:
Re: EXIF
Dear Mr. Rao,
Navigating with activeX I get object Htmldocument. Is it possible that we get the content of the Htmldocument.
Best regards,
Otto
![Image](https://mybergland.com/fwforum/exif2.jpg)
Navigating with activeX I get object Htmldocument. Is it possible that we get the content of the Htmldocument.
Best regards,
Otto
![Image](https://mybergland.com/fwforum/exif2.jpg)
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 22 times
- Been thanked: 2 times
- Contact:
Re: EXIF
Hello Natter,
Thank you. Do you have some code on how to address the DOM object?
The relationship between ActiveX and Exif is that I do not know how to get the information stored in Exif with Fivewin.
But I have a javascript lib that does all I want.
Now it would be great if we could read the DOM object with all the information.
Best regards,
Otto
https://winhotel.space/exif-js-master/example/index.html
Thank you. Do you have some code on how to address the DOM object?
The relationship between ActiveX and Exif is that I do not know how to get the information stored in Exif with Fivewin.
But I have a javascript lib that does all I want.
Now it would be great if we could read the DOM object with all the information.
Best regards,
Otto
https://winhotel.space/exif-js-master/example/index.html
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- TecniSoftware
- Posts: 236
- Joined: Fri Oct 28, 2005 6:29 pm
- Location: Quilmes, Buenos Aires, Argentina
Re: EXIF
Natter wrote:Hi.
Can I get EXIF metadata from a jpg file ?
Hello!
There is this free comnand line tool EXIFTOOL, take a look in https://exiftool.org/
Greetings
Alejandro Cebolido
Buenos Aires, Argentina
Buenos Aires, Argentina
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 22 times
- Been thanked: 2 times
- Contact:
Re: EXIF
Hello Alejandro,
Thank you for pointing to: https://exiftool.org/ .
I will try the software.
Best regards,
Otto
Thank you for pointing to: https://exiftool.org/ .
I will try the software.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 22 times
- Been thanked: 2 times
- Contact:
Re: EXIF
Good morning Natter,
I tried what you suggested but I can't find out the syntax for method and data how to access the object.
oHttp := oActiveX:GetProp( "Document" ) // -> Object Document
cClassName := oHttp:cClassname
? cClassName:innerHTML / Not working
Can you please help with some more code.
If we can access oHttp from Fivewin, we can use the "DIALOGs" from mod harbour and embed with ActiveX into Fivewin.
Best regards,
Otto
I tried what you suggested but I can't find out the syntax for method and data how to access the object.
oHttp := oActiveX:GetProp( "Document" ) // -> Object Document
cClassName := oHttp:cClassname
? cClassName:innerHTML / Not working
Can you please help with some more code.
If we can access oHttp from Fivewin, we can use the "DIALOGs" from mod harbour and embed with ActiveX into Fivewin.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
Re: EXIF
Don't understand what exactly is not working. Did you get the document object ?
Code: Select all | Expand
if oDk:URL=MyUrl
do while .T.
if valtype(oDk:body)!="U".and.oDk:body:ReadyState-"complete"
buf:=oDk:DocumentElement:InnerHTML
exit
endif
multisec(50)
sysrefresh()
enddo
endif
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 22 times
- Been thanked: 2 times
- Contact:
Re: EXIF
Hello Natter,
Many thanks. It works now, technically.
But I think exif.js is not supported by Internet Explorer.
Do you know whether you can set Firefox or Chrome to be opened?
Best regards,
Otto
Many thanks. It works now, technically.
But I think exif.js is not supported by Internet Explorer.
Do you know whether you can set Firefox or Chrome to be opened?
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
Re: EXIF
You think exif.js does not work under IE or you are sure of it.
Can make an HTML file where the library is connected exif.js
Run it from the ActiveX object.
Do page processing.
You can try to open another browser (shellexecute), and the parameter to it is an HTML file
Where to put the received data ?
Can make an HTML file where the library is connected exif.js
Run it from the ActiveX object.
Do page processing.
You can try to open another browser (shellexecute), and the parameter to it is an HTML file
Where to put the received data ?
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 22 times
- Been thanked: 2 times
- Contact:
Re: EXIF
Hello Natter,
Thank you.
>You think exif.js does not work under IE or you are sure of it.
Yes, I tried with Internet Explorer and js is not executed.
https://winhotel.space/exif-js-master/e ... index.html
![Image](https://mybergland.com/fwforum/imagedata.jpg)
>Can make an HTML file where the library is connected exif.js
Run it from the ActiveX object.
Do page processing.
You can try to open another browser (shellexecute), and the parameter to it is an HTML file
shellexecute(,"open","chrome.exe","https://winhotel.space/exif-js-master/example/index.html")
This is working fine but not with acticeX.
I found this now:
https://stackoverflow.com/questions/353 ... -on-chrome
>Where to put the received data ?
I store the data (buf) with memowrit().
Best regards,
Otto
Thank you.
>You think exif.js does not work under IE or you are sure of it.
Yes, I tried with Internet Explorer and js is not executed.
https://winhotel.space/exif-js-master/e ... index.html
![Image](https://mybergland.com/fwforum/imagedata.jpg)
>Can make an HTML file where the library is connected exif.js
Run it from the ActiveX object.
Do page processing.
You can try to open another browser (shellexecute), and the parameter to it is an HTML file
shellexecute(,"open","chrome.exe","https://winhotel.space/exif-js-master/example/index.html")
This is working fine but not with acticeX.
I found this now:
https://stackoverflow.com/questions/353 ... -on-chrome
>Where to put the received data ?
I store the data (buf) with memowrit().
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************