I want to read metadata of already uploaded JPEGs on S3. Is there a way to do that in Ruby without downloading the file locally?
The problem I am facing is that Image(Mini)Magick doesn't take a URL as a source (or at least I didn't find the right command).
Update:
This is working:
>> image = MiniMagick::Image.from_file -path_to_file-
>> image["EXIF:datetime"]
=> "2010:07:19 23:07:54"
But I didn't find a good substitude for "from_file", for URLs so something like:
>> image = MiniMagick::Image.from_url http://image_adress.com/image.jpg
doesn't work.