update 1.0.8.0

Commits for version update
This commit is contained in:
Manish Verma
2016-10-17 12:02:27 +05:30
parent dec927987b
commit 76e85db070
9674 changed files with 495757 additions and 58922 deletions

View File

@@ -1,11 +1,11 @@
{
"providers": [
"Intervention\Image\ImageServiceProvider"
"Intervention\\Image\\ImageServiceProvider"
],
"aliases": [
{
"alias": "Image",
"facade": "Intervention\Image\Facades\Image"
"facade": "Intervention\\Image\\Facades\\Image"
}
]
}

View File

@@ -18,6 +18,7 @@ class Decoder extends \Intervention\Image\AbstractDecoder
try {
$core->setBackgroundColor(new \ImagickPixel('transparent'));
$core->readImage($path);
$core->setImageType(\Imagick::IMGTYPE_TRUECOLORMATTE);

View File

@@ -53,7 +53,7 @@ class Response
if (function_exists('app') && is_a($app = app(), 'Illuminate\Foundation\Application')) {
$response = \Response::make($data);
$response = \Illuminate\Support\Facades\Response::make($data);
$response->header('Content-Type', $mime);
$response->header('Content-Length', $length);