@@ 285-292 (lines=8) @@ | ||
282 | } |
|
283 | ||
284 | // create the working image |
|
285 | if (function_exists('imagecreatetruecolor')) |
|
286 | { |
|
287 | $this->workingImage = imagecreatetruecolor($this->maxWidth, $this->maxHeight); |
|
288 | } |
|
289 | else |
|
290 | { |
|
291 | $this->workingImage = imagecreate($this->maxWidth, $this->maxHeight); |
|
292 | } |
|
293 | ||
294 | $this->preserveAlpha(); |
|
295 | ||
@@ 407-414 (lines=8) @@ | ||
404 | } |
|
405 | ||
406 | // create the working image |
|
407 | if (function_exists('imagecreatetruecolor')) |
|
408 | { |
|
409 | $this->workingImage = imagecreatetruecolor($this->maxWidth, $this->maxHeight); |
|
410 | } |
|
411 | else |
|
412 | { |
|
413 | $this->workingImage = imagecreate($this->maxWidth, $this->maxHeight); |
|
414 | } |
|
415 | ||
416 | $this->preserveAlpha(); |
|
417 | ||
@@ 536-543 (lines=8) @@ | ||
533 | } |
|
534 | ||
535 | // create the working image |
|
536 | if (function_exists('imagecreatetruecolor')) |
|
537 | { |
|
538 | $this->workingImage = imagecreatetruecolor($this->maxWidth, $this->maxHeight); |
|
539 | } |
|
540 | else |
|
541 | { |
|
542 | $this->workingImage = imagecreate($this->maxWidth, $this->maxHeight); |
|
543 | } |
|
544 | ||
545 | $this->preserveAlpha(); |
|
546 |