Notifications
Clear all

[Closed] [wish] save exif data for vrayPhysicalCamera

 rdg

I posted this over the vray-forum, but I guess here are more c++ speaking people

I want to add exif data for the vrayPhysicalCamera to a jpeg/tiff file.
I tried this the whole day with python and PHP but now: , :banghead: and :argh:.

I have a rollut to select a image and a vrayphysical camera, a xml file containing the data like focal_length, f-stop ist generated and a php files parses this data.

It just doesn’t work to add the exif data to the file…
PHP/Phyton isn’t such a cool redistibutable environment, so I thought maybe some here can add something to max to write this data …

preferrable supporting max8 …
Maybe some has knowledge/interest to share such a feature with the community …

Georg

4 Replies
 rdg

sometimes it helps to do the dishes.
Returning with the intention to finish this task and me with c#, the first goolgle for c# help returned a free software and with a commercial license:

Exiv2 – Exif and IPTC metadata library and tools [1]

It is a commandline utility that can read a command file to update the exif data.

Now everything works as expected
I can post the maxScript later.

Georg

[1] http://www.exiv2.org/

If you want some more features I recommend this little component:
http://www.chilkatsoft.com/XMP-DotNet.asp
http://www.example-code.com/vb/xmp.asp

Maybe this helps
If you find any more solutions I am also very interrested since this is becoming a big issue at work.

Regards,
Anton Berg
Ogma AB

 rdg

Thanks for the links, Anton!

The Chilkat Component looks very interesting as it supports xmp.

Georg

 rdg

rdgJpegExif-1.mzp

the proof of concept version of my script.

You can add exif data from a camera to a jpg.
This is enough for my task right now.

Georg