Testing issue 52 - Fill to fit fails with aspect ratio

Verify that Fill To Fit resize strategy works with all variants of sizes.

Images used in test

The following images are used for this test.

car.png (json) (verbose)







Testcases used for each image

The following testcases are used for each image.

&nc&w=300&h=300&stretch
&nc&w=300&ar=1.1&stretch
&nc&w=300&ar=3&stretch
&nc&h=300&ar=1.1&stretch
&nc&h=300&ar=3&stretch
&nc&w=50%&ar=1.1&stretch
&nc&w=50%&ar=3&stretch
&nc&h=50%&ar=1.1&stretch
&nc&h=50%&ar=3&stretch

For each image, apply all testcases

1. Using source image car.png

car.png (json) (verbose)




Testcase 1.1: &nc&w=300&h=300&stretch

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




Testcase 1.2: &nc&w=300&ar=1.1&stretch

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




Testcase 1.3: &nc&w=300&ar=3&stretch

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




Testcase 1.4: &nc&h=300&ar=1.1&stretch

car.png&nc&h=300&ar=1.1&stretch (json) (verbose)




Testcase 1.5: &nc&h=300&ar=3&stretch

car.png&nc&h=300&ar=3&stretch (json) (verbose)




Testcase 1.6: &nc&w=50%&ar=1.1&stretch

car.png&nc&w=50%&ar=1.1&stretch (json) (verbose)




Testcase 1.7: &nc&w=50%&ar=3&stretch

car.png&nc&w=50%&ar=3&stretch (json) (verbose)




Testcase 1.8: &nc&h=50%&ar=1.1&stretch

car.png&nc&h=50%&ar=1.1&stretch (json) (verbose)




Testcase 1.9: &nc&h=50%&ar=3&stretch

car.png&nc&h=50%&ar=3&stretch (json) (verbose)