mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-30 02:49:50 +02:00
improving dummy image
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
$version = "v0.7.5 (2015-10-18)";
|
||||
$version = "v0.7.6 (2015-10-18)";
|
||||
|
||||
|
||||
|
||||
@@ -962,9 +962,13 @@ if ($dummyImage === true) {
|
||||
->setSource($dummyFilename, $dummyDir)
|
||||
->setOptions(
|
||||
array(
|
||||
'bgColor' => $bgColor,
|
||||
'newWidth' => $newWidth,
|
||||
'newHeight' => $newHeight,
|
||||
'bgColor' => $bgColor,
|
||||
)
|
||||
)
|
||||
->setJpegQuality($quality)
|
||||
->setPngCompression($compress)
|
||||
->createDummyImage()
|
||||
->generateFilename(null, false)
|
||||
->save(null, null, false);
|
||||
|
Reference in New Issue
Block a user