1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-20 04:31:24 +02:00
This commit is contained in:
Oliver Vogel
2013-03-29 13:24:03 +01:00
parent 8bbb1ff91c
commit 8b2759bc23

View File

@@ -922,15 +922,15 @@ class Image
imagesettile($this->resource, $source);
$source = IMG_COLOR_TILED;
} elseif (is_string($source) && file_exists(realpath($source))) {
} elseif (is_string($source) && $this->isBinary($source)) {
// fill with image from binary string
$img = new self($source);
imagesettile($this->resource, $img->resource);
$source = IMG_COLOR_TILED;
} elseif (is_string($source) && $this->isBinary($source)) {
} elseif (is_string($source) && file_exists(realpath($source))) {
// fill with image from binary string
$img = new self($source);
imagesettile($this->resource, $img->resource);
$source = IMG_COLOR_TILED;