title: Save file to Storage after Intervention encoding
body: <p>I'm trying to save encoded by Intervention image to the specific storage</p>
  
  <pre><code>$converted_image = Image::make($req-&gt;file('image_file'));
  $converted_image-&gt;resize(300, null, function ($constraint) {
      $constraint-&gt;aspectRatio();
  });
  $file=$converted_image-&gt;encode('png');
  $path = Storage::putFileAs('images', $file-&gt;stream(), 'test.png');
  </code></pre>
  
  <p>returns an error:</p>
  
  <pre><code>Call to undefined method GuzzleHttp\Psr7\Stream::getRealPath()
  </code></pre>
  
  <p>Another attempt with:</p>
  
  <pre><code>$path = Storage::putFileAs('images', $file-&gt;stream()-&gt;__toString(), 'test.png');
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>Call to a member function getRealPath() on string
  </code></pre>
  
  <p>Any workaround to save file using Storage?</p>