[
    {
        "name": "width/height attributes only: no resizing",
        "file": "width-height-only.svg",
        "notes to validate": "should be 550x600"
    },
    {
        "name": "width/height attributes only: resize to smaller than it is",
        "file": "width-height-only.svg",
        "options": { "width": 200, "height": 200 },
        "notes to validate": "should be 200x200 and cropped"
    },
    {
        "name": "width/height attributes only: resize to larger than it is",
        "file": "width-height-only.svg",
        "options": { "width": 900, "height": 900 },
        "notes to validate": "should be 900x900 and expanded with empty space in the bottom right"
    },
    {
        "name": "viewBox attribute only: resized to 100x400",
        "file": "viewbox-only.svg",
        "options": { "width": 100, "height": 400 },
        "notes to validate": "should be 100x400 and vertically centered"
    },
    {
        "name": "viewBox attribute only: resized to 100 width",
        "file": "viewbox-only.svg",
        "options": { "width": 100 },
        "notes to validate": "should be 100x118, nicely scaled"
    },
    {
        "name": "viewBox attribute only: resized to 100 height",
        "file": "viewbox-only.svg",
        "options": { "height": 100 },
        "notes to validate": "should be 85x100, nicely scaled"
    },
    {
        "name": "percent width/height attributes and viewBox attribute: resized to 100x400",
        "file": "percent-width-height-viewbox.svg",
        "options": { "width": 100, "height": 400 },
        "notes to validate": "should be 100x400 and vertically centered, a full circle (not a quarter one)"
    },
    {
        "name": "percent width/height attributes and viewBox attribute: resized to 100 width",
        "file": "percent-width-height-viewbox.svg",
        "options": { "width": 100 },
        "notes to validate": "should be 100x100, nicely scaled, a full circle (not a quarter one)"
    },
    {
        "name": "percent width/height attributes and viewBox attribute: resized to 200 height",
        "file": "percent-width-height-viewbox.svg",
        "options": { "height": 200 },
        "notes to validate": "should be 200x200, nicely scaled, a full circle (not a quarter one)"
    },
    {
        "name": "width/height and viewBox attributes: no resizing",
        "file": "width-height-viewbox.svg",
        "notes to validate": "should be 505x505 and not have any green borders"
    },
    {
        "name": "width/height and viewBox attributes: resized to a height of 100",
        "file": "width-height-viewbox.svg",
        "options": { "height": 100 },
        "notes to validate": "should be 100x100 and not have any green borders"
    },
    {
        "name": "width/height and viewBox attributes: resized to 100x600",
        "file": "width-height-viewbox-2.svg",
        "options": { "width": 100, "height": 600 },
        "notes to validate": "should be 100x600, vertically centered, and with a transparent background"
    },
    {
        "name": "no width/height and no viewBox: resized to smaller than it is",
        "file": "no-size-indicators.svg",
        "options": { "width": 100, "height": 100 },
        "notes to validate": "should be cropped to upper left"
    },
    {
        "name": "no width/height and no viewBox: resized to larger than it is",
        "file": "no-size-indicators.svg",
        "options": { "width": 1000, "height": 1000 },
        "notes to validate": "should be expanded with empty space in the bottom right"
    },
    {
        "name": "width/height in px, and viewBox: no resizing",
        "file": "width-height-viewbox-3.svg",
        "notes to validate": "should be 148x35"
    },
    {
        "name": "with media queries",
        "file": "media-queries.svg",
        "notes to validate": "zebra should be red; size should be 167x344"
    },
    {
        "name": "with media queries, resized",
        "file": "media-queries.svg",
        "options": { "width": 500 },
        "notes to validate": "zebra should be blue; size should be 500x1032"
    },
    {
        "name": "viewBox only regression test (https://github.com/domenic/svg2png/issues/52#issuecomment-244912343)",
        "file": "viewbox-only-2.svg",
        "options": { "width": 640, "height": 640 },
        "notes to validate": "should not fail"
    },
    {
        "name": "including an external file with <image> (setting filename option)",
        "file": "external-file.svg",
        "includeFilename": true,
        "notes to validate": "should show the kittens"
    },
    {
        "name": "including an external file with <image> (setting url option)",
        "file": "external-file.svg",
        "includeURL": true,
        "notes to validate": "should show the kittens"
    },
    {
        "name": "using a font inlined as a data URL",
        "file": "data-url-font.svg",
        "options": { "width": 500, "height": 500 },
        "notes to validate": "the X should be centered"
    },
    {
        "name": "using non-ASCII characters",
        "file": "non-ascii-text.svg",
        "notes to validate": "text should have diacritics (tête-à-tête)"
    }
]
