mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-01 05:50:12 +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
|
||||
$images = array(
|
||||
'car.png',
|
||||
'car.gif',
|
||||
'car.jpg',
|
||||
'ball24.png',
|
||||
'wider.jpg',
|
||||
);
|
||||
@@ -26,9 +28,11 @@ $images = array(
|
||||
// For each image, apply these testcases
|
||||
$nc = "&nc"; //null; //&nc';
|
||||
$testcase = array(
|
||||
$nc . '&w=300',
|
||||
$nc . '&w=300&sa=jpg',
|
||||
$nc . '&w=300&sa=png',
|
||||
$nc . '&w=300&sa=gif',
|
||||
$nc . '&w=300&palette',
|
||||
$nc . '&w=300&sa=png&palette',
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user