Although the files have no extension, Linux's "file" command gives this info:
Code: Select all
9897_45200056c4ea07275bf57e07323eda39: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=17, height=3456, bps=218, PhotometricIntepretation=RGB, manufacturer=Panasonic, model=DMC-TZ55, orientation=upper-left, width=4608], progressive, precision 8, 4608x3456, frames 3
That's the easy(ish) part, but I notice that the attachments DB has columns for filesize and filetime.
I can probably get round the filetime bit by getting the filetime first, storing in a var, and the "touching" the file with the old date after modification. But what about that filesize column? Is this going to mess things up?