Testing issue 85 - Load images in a more generic manner

Do not depend on file extension while loading images.

Images used in test

The following images are used for this test.

car-gif (json) (verbose)




  

car-jpg (json) (verbose)




  

car-png (json) (verbose)







Testcases used for each image

The following testcases are used for each image.

&nc&so
&nc&sa=gif
&nc&sa=jpg
&nc&sa=png

For each image, apply all testcases

1. Using source image car-gif

car-gif (json) (verbose)




Testcase 1.1: &nc&so

car-gif&nc&so (json) (verbose)




Testcase 1.2: &nc&sa=gif

car-gif&nc&sa=gif (json) (verbose)




Testcase 1.3: &nc&sa=jpg

car-gif&nc&sa=jpg (json) (verbose)




Testcase 1.4: &nc&sa=png

car-gif&nc&sa=png (json) (verbose)




2. Using source image car-jpg

car-jpg (json) (verbose)




Testcase 2.1: &nc&so

car-jpg&nc&so (json) (verbose)




Testcase 2.2: &nc&sa=gif

car-jpg&nc&sa=gif (json) (verbose)




Testcase 2.3: &nc&sa=jpg

car-jpg&nc&sa=jpg (json) (verbose)




Testcase 2.4: &nc&sa=png

car-jpg&nc&sa=png (json) (verbose)




3. Using source image car-png

car-png (json) (verbose)




Testcase 3.1: &nc&so

car-png&nc&so (json) (verbose)




Testcase 3.2: &nc&sa=gif

car-png&nc&sa=gif (json) (verbose)




Testcase 3.3: &nc&sa=jpg

car-png&nc&sa=jpg (json) (verbose)




Testcase 3.4: &nc&sa=png

car-png&nc&sa=png (json) (verbose)