diff --git a/src/Intervention/Image/Gd/Source.php b/src/Intervention/Image/Gd/Source.php index 41c1c05f..0cf1c99d 100644 --- a/src/Intervention/Image/Gd/Source.php +++ b/src/Intervention/Image/Gd/Source.php @@ -70,7 +70,7 @@ class Source extends \Intervention\Image\AbstractSource ); } - $image = $this->initFromGdResource($core); + $image = $this->initFromGdResource($resource); $image->mime = finfo_buffer(finfo_open(FILEINFO_MIME_TYPE), $binary); return $image;