1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-28 09:59:54 +02:00

improving dummy image

This commit is contained in:
Mikael Roos
2015-10-18 17:15:14 +02:00
parent 39b6078d84
commit 1bd6fc8a2c
7 changed files with 70 additions and 11 deletions

View File

@@ -3481,7 +3481,7 @@ EOD;
*
*/
$version = "v0.7.5 (2015-10-18)";
$version = "v0.7.6 (2015-10-18)";
@@ -4435,9 +4435,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);