Closed ilker-aktuna closed 3 years ago
@ilker-aktuna it is very easy to insert pre-defined xmp string into a JPEG file.
I thought I included an example in the test folder but seems there is no direct example for xmp insertion.
What you need to do is call Metadata.insertXMP(is, os, generatePhotoSphereXMP) with several parameters like input, output stream as well as a xmp string and icafe will take care of it.
The format of your example seems correct.
Let me know if it works.
Wen
thanks. it worked !
now I have to find a similar way to add spherical metadata to 360 degree videos as well. any idea if that is achieveable by icafe ?
@ilker-aktuna not sure how videos incorporate the meta data but icafe can only add xmp to individual images.
Wen
I found some other library for injecting spherical metadata to video files. it uses a precompiled library but it works. thanks for the help.
I am working on an Android app which converts stereo (dual fisheye) 360 degree panorama images to equirectangular format. I need to write xmp data to the file to make the final image be played in 360 degree.
I have the xmp structure predefined (below)
is it possible to use icafe library to write this to an image ?