Testing option save-as - save image to another format

Images used in test

The following images are used for this test.

car.png (json) (verbose)




  

car.gif (json) (verbose)




  

car.jpg (json) (verbose)




  

ball24.png (json) (verbose)




  

wider.jpg (json) (verbose)







Testcases used for each image

The following testcases are used for each image.

&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

For each image, apply all testcases

1. Using source image car.png

car.png (json) (verbose)




Testcase 1.1: &nc&w=300

car.png&nc&w=300 (json) (verbose)




Testcase 1.2: &nc&w=300&sa=jpg

car.png&nc&w=300&sa=jpg (json) (verbose)




Testcase 1.3: &nc&w=300&sa=png

car.png&nc&w=300&sa=png (json) (verbose)




Testcase 1.4: &nc&w=300&sa=gif

car.png&nc&w=300&sa=gif (json) (verbose)




Testcase 1.5: &nc&w=300&palette

car.png&nc&w=300&palette (json) (verbose)




Testcase 1.6: &nc&w=300&sa=png&palette

car.png&nc&w=300&sa=png&palette (json) (verbose)




2. Using source image car.gif

car.gif (json) (verbose)




Testcase 2.1: &nc&w=300

car.gif&nc&w=300 (json) (verbose)




Testcase 2.2: &nc&w=300&sa=jpg

car.gif&nc&w=300&sa=jpg (json) (verbose)




Testcase 2.3: &nc&w=300&sa=png

car.gif&nc&w=300&sa=png (json) (verbose)




Testcase 2.4: &nc&w=300&sa=gif

car.gif&nc&w=300&sa=gif (json) (verbose)




Testcase 2.5: &nc&w=300&palette

car.gif&nc&w=300&palette (json) (verbose)




Testcase 2.6: &nc&w=300&sa=png&palette

car.gif&nc&w=300&sa=png&palette (json) (verbose)




3. Using source image car.jpg

car.jpg (json) (verbose)




Testcase 3.1: &nc&w=300

car.jpg&nc&w=300 (json) (verbose)




Testcase 3.2: &nc&w=300&sa=jpg

car.jpg&nc&w=300&sa=jpg (json) (verbose)




Testcase 3.3: &nc&w=300&sa=png

car.jpg&nc&w=300&sa=png (json) (verbose)




Testcase 3.4: &nc&w=300&sa=gif

car.jpg&nc&w=300&sa=gif (json) (verbose)




Testcase 3.5: &nc&w=300&palette

car.jpg&nc&w=300&palette (json) (verbose)




Testcase 3.6: &nc&w=300&sa=png&palette

car.jpg&nc&w=300&sa=png&palette (json) (verbose)




4. Using source image ball24.png

ball24.png (json) (verbose)




Testcase 4.1: &nc&w=300

ball24.png&nc&w=300 (json) (verbose)




Testcase 4.2: &nc&w=300&sa=jpg

ball24.png&nc&w=300&sa=jpg (json) (verbose)




Testcase 4.3: &nc&w=300&sa=png

ball24.png&nc&w=300&sa=png (json) (verbose)




Testcase 4.4: &nc&w=300&sa=gif

ball24.png&nc&w=300&sa=gif (json) (verbose)




Testcase 4.5: &nc&w=300&palette

ball24.png&nc&w=300&palette (json) (verbose)




Testcase 4.6: &nc&w=300&sa=png&palette

ball24.png&nc&w=300&sa=png&palette (json) (verbose)




5. Using source image wider.jpg

wider.jpg (json) (verbose)




Testcase 5.1: &nc&w=300

wider.jpg&nc&w=300 (json) (verbose)




Testcase 5.2: &nc&w=300&sa=jpg

wider.jpg&nc&w=300&sa=jpg (json) (verbose)




Testcase 5.3: &nc&w=300&sa=png

wider.jpg&nc&w=300&sa=png (json) (verbose)




Testcase 5.4: &nc&w=300&sa=gif

wider.jpg&nc&w=300&sa=gif (json) (verbose)




Testcase 5.5: &nc&w=300&palette

wider.jpg&nc&w=300&palette (json) (verbose)




Testcase 5.6: &nc&w=300&sa=png&palette

wider.jpg&nc&w=300&sa=png&palette (json) (verbose)