mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-06 08:07:42 +02:00
Correcting internal details for save-as and response json which indicated wrong colors. Fix #62.
This commit is contained in:
BIN
webroot/img/car.jpg
Normal file
BIN
webroot/img/car.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
@@ -17,6 +17,8 @@ $description = "";
|
|||||||
// Use these images in the test
|
// Use these images in the test
|
||||||
$images = array(
|
$images = array(
|
||||||
'car.png',
|
'car.png',
|
||||||
|
'car.gif',
|
||||||
|
'car.jpg',
|
||||||
'ball24.png',
|
'ball24.png',
|
||||||
'wider.jpg',
|
'wider.jpg',
|
||||||
);
|
);
|
||||||
@@ -26,9 +28,11 @@ $images = array(
|
|||||||
// For each image, apply these testcases
|
// For each image, apply these testcases
|
||||||
$nc = "&nc"; //null; //&nc';
|
$nc = "&nc"; //null; //&nc';
|
||||||
$testcase = array(
|
$testcase = array(
|
||||||
|
$nc . '&w=300',
|
||||||
$nc . '&w=300&sa=jpg',
|
$nc . '&w=300&sa=jpg',
|
||||||
$nc . '&w=300&sa=png',
|
$nc . '&w=300&sa=png',
|
||||||
$nc . '&w=300&sa=gif',
|
$nc . '&w=300&sa=gif',
|
||||||
|
$nc . '&w=300&palette',
|
||||||
$nc . '&w=300&sa=png&palette',
|
$nc . '&w=300&sa=png&palette',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user