title: Intervention\Image\Exception\NotSupportedException Encoding format (tmp) is not supported
body: <p>I am using the Intervention package with Laravel 5.6, the issue I am getting whenever I am uploading a file I have been presented with the error Encoding format(tmp) is not supported. I have my gdd2 extension enabled also. This is the code where I have used.</p>
  
  <pre><code>public function store(Request $request)
      {
          $this-&gt;validate($request , [
              'name'          =&gt; 'required|unique:categories',
              'description'   =&gt;  'max:355',
              'image'         =&gt;  'required|image|mimes:jpeg,bmp,png,jpg'
          ]);
  
          // Get Form Image
          $image = $request-&gt;file('image');
          $slug = str_slug($request-&gt;name);
          if (isset($image))
          {
              $currentDate = Carbon::now()-&gt;toDateString();
              $imageName = $slug.'-'.$currentDate.'-'.uniqid().'.'.$image-&gt;getClientOriginalExtension();
              // Check if Category Dir exists
              if (!Storage::disk('public')-&gt;exists('category'))
              {
                  Storage::disk('public')-&gt;makeDirectory('category');
              }
              // Resize image for category and upload
              $categoryImage = Image::make($image)-&gt;resize(1600,479)-&gt;save();
              Storage::disk('public')-&gt;put('category/'.$imageName, $categoryImage);
  
              // Check if Category Slider Dir exists
              if (!Storage::disk('public')-&gt;exists('category/slider'))
              {
                  Storage::disk('public')-&gt;makeDirectory('category/slider');
              }
  
              // Resize image for category slider and upload
              $categorySlider = Image::make($image)-&gt;resize(500,333)-&gt;save();
              Storage::disk('public')-&gt;put('category/slider/'.$imageName, $categorySlider);
  
          }
          else
          {
              $imageName = 'default.png';
          }
  
          $category = new Category();
          $category-&gt;name = $request-&gt;name;
          $category-&gt;slug = $slug;
          $category-&gt;description = $request-&gt;description;
          $category-&gt;image = $imageName;
  
          $category-&gt;save();
          Toastr::success('Category Saved Successfully','Success');
          return redirect()-&gt;route('admin.category.index');
      }
  </code></pre>