How reading exif metadata from file

给你一囗甜甜゛ 提交于 2020-05-17 08:47:09

问题


I'm trying to implement the following Exif reading library with as3, but I can't load the browsed file.

In the library example they use loader.load(new URLRequest("http://www.example.com/sample.jpg")); for loading the image, the problem in my application is that the file is selected by a file-browser in a local computer.

I tried a fileReference.name but it doesn't work, the only way that I found to make my test, is putting a file in the same directory than the .swf like this :

loader.load(new URLRequest("IMG_001.JPG"));

Can you tell me what is the parameter that I can put in the URLRequest function to get the path of the selected file ?

Thank you

来源:https://stackoverflow.com/questions/61396622/how-reading-exif-metadata-from-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!