You can clone with
HTTPS or Subversion.
ExifTool supports a very awesome option to load Exif data from slow network connections without the need to download a big photo file. I'd like to implement support for this option in MiniExifTool.
This is the CLI to use the -fast option:
wget -qO - http://farm6.staticflickr.com/5015/5458914734_8fd3f33278_o.jpg | exiftool -fast -
My idea if to create an initializer that receives the URL to the file and pipes it to exiftool -fast and then uses the already existing parse_output.
I've a few implementation questions:
What do you think?
In case, there's no good way to replace wget or you think it should get in the project because it would increase complexity. I just found the following way of achieving the goal:
json_str = `wget -qO - http://farm6.staticflickr.com/5015/5458914734_8fd3f33278_o.jpg | exiftool -fast2 -`
exif = MiniExiftool.from_json(json_str)
# => 2011-02-15 08:27:51 -0200
It works for me. But I'd be interested in a discussion what other ways it could be done.
Interesting idea. Didn't know the -fast option until now. ;-)
At the moment I don't see a simple solution that is universally applicable.