3 ms·
You might be interested in some code I wrote to write the image meta data for Facebook/Flickr etc. directly via JavaScript when you save the image instead of us
by callumprentice 10y ago
You might be interested in some code I wrote to write the image meta data for Facebook/Flickr etc. directly via JavaScript when you save the image instead of using something external like exiftool.
I capture scenes from Second Life and let you view them using three.js - I added an option to export an equirectangular image that has the embedded meta-data I mentioned so you can upload it directly to Facebook etc. and it;ll work.
Example here: http://callumprentice.github.io/apps/360_snapshot_viewer/index.html http://callumprentice.github.io/apps/360_snapshot_viewer/ind... - click on the "twirly arrow" icon at the top :)
Code is here: https://github.com/callumprentice/callumprentice.github.io/tree/master/apps/360_snapshot_viewer https://github.com/callumprentice/callumprentice.github.io/t...
- jamespollack 10y agoYes, definitely! I'd love to remove the manual metadata step for the photos. I looked at writing the exif XMP data but had trouble sorting it out -- your code looks great, thanks for the lead!
- callumprentice 10y agohey james - have a look around here: https://github.com/callumprentice/callumprentice.github.io/blob/master/apps/360_snapshot_viewer/js/jpeg_encoder_basic.js#L600 https://github.com/callumprentice/callumprentice.github.io/b...