title: How to read image metadata from a URL?
body: <p>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?</p>
  
  <p>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). </p>
  
  <p><strong>Update:</strong></p>
  
  <p>This is working:</p>
  
  <pre><code>&gt;&gt; image = MiniMagick::Image.from_file -path_to_file-
  &gt;&gt; image["EXIF:datetime"]
  =&gt; "2010:07:19 23:07:54"
  </code></pre>
  
  <p>But I didn't find a good substitude for "from_file", for URLs so something like:</p>
  
  <pre><code>&gt;&gt; image = MiniMagick::Image.from_url http://image_adress.com/image.jpg
  </code></pre>
  
  <p>doesn't work.</p>