1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-02 18:32:56 +02:00
This commit is contained in:
Oliver Vogel
2014-11-06 17:20:38 +01:00
parent 8d0d2da878
commit f0d1a5a316

View File

@@ -32,6 +32,7 @@ class Decoder extends \Intervention\Image\AbstractDecoder
case IMAGETYPE_JPEG: case IMAGETYPE_JPEG:
$core = imagecreatefromjpeg($path); $core = imagecreatefromjpeg($path);
$this->gdResourceToTruecolor($core);
break; break;
case IMAGETYPE_GIF: case IMAGETYPE_GIF: