ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Can ImageEN get/set camera serial number
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

anbangs

25 Posts

Posted - Sep 13 2022 :  02:40:50  Show Profile  Reply
Can ImageEN get/set camera serial number?

xequte

38608 Posts

Posted - Sep 13 2022 :  17:05:38  Show Profile  Reply
Hi

The camera notes are stored in the maker notes:

https://www.imageen.com/help/TIOParams.EXIF_MakerNote.html

ImageEn can read them, but not modify them.

Can you upload your sample file.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

anbangs

25 Posts

Posted - Sep 13 2022 :  20:15:18  Show Profile  Reply
i have no samples, just to write it with windows file detail properties
Go to Top of Page

xequte

38608 Posts

Posted - Sep 13 2022 :  22:50:33  Show Profile  Reply
Sorry, I mean can you email me 0002.jpg

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

anbangs

25 Posts

Posted - Sep 14 2022 :  02:04:26  Show Profile  Reply

Go to Top of Page

xequte

38608 Posts

Posted - Sep 14 2022 :  21:51:03  Show Profile  Reply
Hi

In this case the serial number is MicrosoftPhoto tag in the XMP:

edtSerial.Text := ImageEnView1.IO.Params.Dict.GetDictionary( 'XMP' ).GetDictionary( 'MicrosoftPhoto:CameraSerialNumber' ).GetString( '#text', True );

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

anbangs

25 Posts

Posted - Sep 15 2022 :  01:46:29  Show Profile  Reply
it
raised exception class EIEException with message 'Key "MicrosoftPhoto:CameraSerialNumber" not found'.
Go to Top of Page

xequte

38608 Posts

Posted - Sep 15 2022 :  18:25:33  Show Profile  Reply
This code does not work for you with the above file?

ImageEnView1.IO.LoadFromFile( 'D:\20229142345_0002.jpg' );
memo1.Text := ImageEnView1.IO.Params.Dict.GetDictionary( 'XMP' ).GetDictionary( 'MicrosoftPhoto:CameraSerialNumber' ).GetString( '#text', True );


What version of ImageEn are you using?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

anbangs

25 Posts

Posted - Sep 15 2022 :  20:01:53  Show Profile  Reply
It's the same mistake as the newspaper. What's wrong?
V10.2.0




Go to Top of Page

xequte

38608 Posts

Posted - Sep 15 2022 :  22:18:24  Show Profile  Reply
Hmmm, we made a lot of improvements to TIEDictionary in 11.0.0. Perhaps that type of recursion is not supported in 10.2.0.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

anbangs

25 Posts

Posted - Sep 16 2022 :  03:20:05  Show Profile  Reply
thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: