Get file size value for export to .txt
I have created a script to export metadata using the XMP Script Library. I am able to get all the properties I need except one: image file size (not dimensions, but the size of the file itself in MB). File size is not included in any XMP namespaces and it isn't in any TIFF tags as far as I can tell.
Getting the file name is very straightforward: exportFile.write (thumb.name), but I can't find any method to get the file size.
Any ideas would be a big help.
Thanks in advance,
Greg Reser
