Hi,
I was just wondering where in the file the EXIF data normally sits. Is it ever at the start of the file?
I'd like to read the EXIF from jpegs on the internet and then drop the connection once enough EXIF has been read instead of retrieving the whole file to save bandwidth.
Is this possible?
Cheers,
Matt
Hi Matt,
In JPEG images, the metadata is at the start of the image, so this technique works well. This is the 4th example in the PIPING EXAMPLES section of the application documentation (https://exiftool.org/exiftool_pod.html#piping_examples). I have also posted an example script that does this via the ExifTool API here (http://www.perlmonks.org/bare/?node_id=876266).
- Phil
Thanks Phil,
That's exactly what I was looking for. A significant shift in my plans from "non-viable" to "plausible"!
Cheers,
Matt