Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (item.exifToolValue("ResolutionUnit") == "inches") {
- return item.name + String((ExifInt("ImageWidth") / ExifInt("XResolution") * 2.54).toFixed(2)) + "x" + String((ExifInt("ImageHeight") / ExifInt("YResolution") * 2.54).toFixed(2));
- }
- else
- {return item.name}
- function ExifInt(tag) {
- return parseInt(item.exifToolValue(tag))
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement