Question
How to use JS to read image format information
Here is a JPG image that opens as follows,How to read “Exif”?

as:
function readFile(file) {
if (!file.exists) {
alert( "Cannot find file: " + deodeURI(file.absoluteURI));
}
else{
file.encoding = "BINARY";
file.open("r", "TEXT", "????");
var str = file.read().toSource();
file.close();
return str;
}
}
alert(readFile(File("c:/1.jpg")))
