diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-02 20:56:30 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-02 20:56:30 -0400 |
| commit | 169dc7493806997aa6498875914f5d682a073310 (patch) | |
| tree | 5eccd84e5d9887e87df9c85d93ae47dd98ff88f5 /inc/image.php | |
| parent | 4fce9b63aee89c04ea0d833992e72ab75585f630 (diff) | |
Fix last commit
Diffstat (limited to 'inc/image.php')
| -rw-r--r-- | inc/image.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/image.php b/inc/image.php index bfb77d30..94267db2 100644 --- a/inc/image.php +++ b/inc/image.php @@ -294,7 +294,7 @@ class ImageConvert extends ImageBase { error('Failed to resize image!'); } } else { - if (shell_exec('convert ' . sprintf($config['convert_args'], $this->width, $this->height) . + if (shell_exec('convert -flatten ' . sprintf($config['convert_args'], $this->width, $this->height) . escapeshellarg($this->src . '[0]') . " " . escapeshellarg($this->temp)) || !file_exists($this->temp)) error('Failed to resize image!'); } |
