{
  "engineVersion": "0.2.0",
  "generatedWith": "OpenAI built-in image generation, sources retained from the original SpriteReady session",
  "provenance": "Sources generated specifically for SpriteReady. No Nightfall art assets. Outputs are unedited engine PNGs.",
  "examples": [
    {
      "name": "downscale",
      "source": "moth-knight-source.png",
      "result": "downscale-result.png",
      "recipe": {
        "recipeVersion": 1,
        "engineVersion": "0.2.0",
        "mode": "downscale",
        "background": {
          "mode": "preserve",
          "toleranceRgbPercent": 8,
          "erosionSourcePx": 0
        },
        "grid": {
          "enabled": false,
          "outlineExpansion": 0
        },
        "resize": {
          "enabled": true,
          "longestSide": 96,
          "filter": "source_default",
          "allowUpscale": false
        },
        "palette": {
          "enabled": false,
          "colours": 24,
          "protect": 4,
          "cleanPasses": 0
        },
        "finish": {
          "trim": true,
          "alpha": "binary",
          "thresholdPercent": 50,
          "gutter": 2,
          "bleedTransparentRgb": true
        }
      },
      "sourceSha256": "94ac6047bf458e244bfd7fb8a5446eca1064d473612a14dedc70a7937a815411",
      "resultSha256": "08b94d985f33894329b3ce0016f7fe7f0ec14f90673ccd311c20f4125012c6f3",
      "measurements": {
        "width": 100,
        "height": 100,
        "colourCount": 4753,
        "warnings": [],
        "inputWidth": 1254,
        "inputHeight": 1254,
        "inputColourCount": 201588,
        "requestedLongestSide": 96,
        "requestedCoreWidth": 96,
        "requestedCoreHeight": 96,
        "subjectWidth": 1187,
        "subjectHeight": 1190,
        "subjectX": 33,
        "subjectY": 15,
        "coreWidth": 96,
        "coreHeight": 96,
        "gutterPerSide": 2
      },
      "note": "96 px was chosen to retain the face and wing markings. Binary transparency removes faint edge pixels. No grid repair or colour reduction.",
      "paletteSwatches": []
    },
    {
      "name": "repair",
      "source": "mimic-chest-source.png",
      "result": "repair-result.png",
      "recipe": {
        "recipeVersion": 1,
        "engineVersion": "0.2.0",
        "mode": "repixel",
        "background": {
          "mode": "preserve",
          "toleranceRgbPercent": 8,
          "erosionSourcePx": 0
        },
        "grid": {
          "enabled": true,
          "outlineExpansion": 0,
          "step": 24,
          "phaseX": 0,
          "phaseY": 0
        },
        "resize": {
          "enabled": false,
          "longestSide": 96,
          "filter": "source_default",
          "allowUpscale": false
        },
        "palette": {
          "enabled": false,
          "colours": 24,
          "protect": 4,
          "cleanPasses": 0
        },
        "finish": {
          "trim": true,
          "alpha": "binary",
          "thresholdPercent": 50,
          "gutter": 2,
          "bleedTransparentRgb": true
        }
      },
      "sourceSha256": "c46fbb784f7692a406061a24b6f3c2c2ea3dc35e823ecb46bbf45788ed9f4877",
      "resultSha256": "ee9071702a6a7f8996a579faa391c1bdbf9791918014b295d9f259bb1ee0ede4",
      "measurements": {
        "width": 41,
        "height": 41,
        "colourCount": 978,
        "warnings": [],
        "inputWidth": 1254,
        "inputHeight": 1254,
        "inputColourCount": 66354,
        "requestedLongestSide": null,
        "requestedCoreWidth": null,
        "requestedCoreHeight": null,
        "subjectWidth": 891,
        "subjectHeight": 885,
        "subjectX": 182,
        "subjectY": 216,
        "coreWidth": 37,
        "coreHeight": 37,
        "gutterPerSide": 2
      },
      "note": "Manually selected 24 px source blocks, phase 0, 0. This source has an imperfect grid. Small details can change; this is not an automatic-detection claim.",
      "paletteSwatches": []
    },
    {
      "name": "palette",
      "source": "palette-source-result.png",
      "result": "palette-result.png",
      "recipe": {
        "recipeVersion": 1,
        "engineVersion": "0.2.0",
        "mode": "palette",
        "background": {
          "mode": "preserve",
          "toleranceRgbPercent": 8,
          "erosionSourcePx": 0
        },
        "grid": {
          "enabled": false,
          "outlineExpansion": 0
        },
        "resize": {
          "enabled": false,
          "longestSide": 96,
          "filter": "source_default",
          "allowUpscale": false
        },
        "palette": {
          "enabled": true,
          "colours": 24,
          "protect": 4,
          "cleanPasses": 0
        },
        "finish": {
          "trim": false,
          "alpha": "preserve",
          "thresholdPercent": 50,
          "gutter": 0,
          "bleedTransparentRgb": true
        }
      },
      "sourceSha256": "f35ac52658651349c332bdef53c5169d146837b23d71b9856d7a1fd35f3bc389",
      "resultSha256": "05909ceebf629984337c0b07569b05ec7af924fbaba287b8d2d67430505d7fc4",
      "measurements": {
        "width": 84,
        "height": 96,
        "colourCount": 24,
        "warnings": [],
        "inputWidth": 84,
        "inputHeight": 96,
        "inputColourCount": 5299,
        "requestedLongestSide": null,
        "requestedCoreWidth": null,
        "requestedCoreHeight": null,
        "subjectWidth": 84,
        "subjectHeight": 96,
        "subjectX": 0,
        "subjectY": 0,
        "coreWidth": 84,
        "coreHeight": 96,
        "gutterPerSide": 0
      },
      "note": "The input was first resized to 84 \u00d7 96 with SpriteReady. This step only reduces colour, preserving dimensions and every alpha value. Small shades may merge.",
      "paletteSwatches": [
        "#51ae72",
        "#6ccb76",
        "#428f6d",
        "#95e57e",
        "#603748",
        "#50263f",
        "#7a4849",
        "#f6f8d7",
        "#9c5a43",
        "#3b1b35",
        "#aeff84",
        "#e8f98d",
        "#20363c",
        "#c16f3d",
        "#43705d",
        "#da883f",
        "#35524d",
        "#efa841",
        "#e1d1b3",
        "#fac471",
        "#a08d88",
        "#c6b19a",
        "#fecd19",
        "#fedf93"
      ],
      "sourcePreparation": {
        "name": "palette-source",
        "source": "slime-alchemist-source.png",
        "result": "palette-source-result.png",
        "recipe": {
          "recipeVersion": 1,
          "engineVersion": "0.2.0",
          "mode": "downscale",
          "background": {
            "mode": "preserve",
            "toleranceRgbPercent": 8,
            "erosionSourcePx": 0
          },
          "grid": {
            "enabled": false,
            "outlineExpansion": 0
          },
          "resize": {
            "enabled": true,
            "longestSide": 96,
            "filter": "source_default",
            "allowUpscale": false
          },
          "palette": {
            "enabled": false,
            "colours": 24,
            "protect": 4,
            "cleanPasses": 0
          },
          "finish": {
            "trim": true,
            "alpha": "binary",
            "thresholdPercent": 50,
            "gutter": 0,
            "bleedTransparentRgb": true
          }
        },
        "sourceSha256": "24dedc4767ff303db3956e793449bdf4235c621de506095fa427497b8e31153d",
        "resultSha256": "f35ac52658651349c332bdef53c5169d146837b23d71b9856d7a1fd35f3bc389",
        "measurements": {
          "width": 84,
          "height": 96,
          "colourCount": 5299,
          "warnings": [],
          "inputWidth": 1254,
          "inputHeight": 1254,
          "inputColourCount": 185198,
          "requestedLongestSide": 96,
          "requestedCoreWidth": 84,
          "requestedCoreHeight": 96,
          "subjectWidth": 841,
          "subjectHeight": 961,
          "subjectX": 216,
          "subjectY": 165,
          "coreWidth": 84,
          "coreHeight": 96,
          "gutterPerSide": 0
        },
        "note": "Prepared at 96 px with Downscale first.",
        "paletteSwatches": []
      }
    },
    {
      "name": "guided",
      "source": "moth-knight-source.png",
      "result": "guided-result.png",
      "recipe": {
        "recipeVersion": 1,
        "engineVersion": "0.2.0",
        "mode": "guided",
        "background": {
          "mode": "preserve",
          "toleranceRgbPercent": 8,
          "erosionSourcePx": 0
        },
        "grid": {
          "enabled": false,
          "outlineExpansion": 0
        },
        "resize": {
          "enabled": true,
          "longestSide": 96,
          "filter": "source_default",
          "allowUpscale": false
        },
        "palette": {
          "enabled": true,
          "colours": 32,
          "protect": 4,
          "cleanPasses": 0
        },
        "finish": {
          "trim": true,
          "alpha": "binary",
          "thresholdPercent": 50,
          "gutter": 2,
          "bleedTransparentRgb": true
        }
      },
      "sourceSha256": "94ac6047bf458e244bfd7fb8a5446eca1064d473612a14dedc70a7937a815411",
      "resultSha256": "f0d27cf95fb4edfb23ab7370eb9a7a7ee848ec804f1bd49a1677041210007976",
      "measurements": {
        "width": 100,
        "height": 100,
        "colourCount": 31,
        "warnings": [],
        "inputWidth": 1254,
        "inputHeight": 1254,
        "inputColourCount": 201588,
        "requestedLongestSide": 96,
        "requestedCoreWidth": 96,
        "requestedCoreHeight": 96,
        "subjectWidth": 1187,
        "subjectHeight": 1190,
        "subjectX": 33,
        "subjectY": 15,
        "coreWidth": 96,
        "coreHeight": 96,
        "gutterPerSide": 2
      },
      "note": "Downscale followed by 32-colour cleanup. Grid repair is off because this source is an illustration. Fine fur and metal texture cannot survive at this size.",
      "paletteSwatches": [
        "#432d30",
        "#4b3b37",
        "#5d313b",
        "#f3d5b1",
        "#6b3e43",
        "#fde9c6",
        "#372327",
        "#584c46",
        "#c5a78d",
        "#8f6450",
        "#b3967d",
        "#dfc2a4",
        "#734c3d",
        "#845946",
        "#9c745d",
        "#c28a57",
        "#665c55",
        "#da995b",
        "#a28572",
        "#603a2b",
        "#804a54",
        "#b27c4f",
        "#83776b",
        "#d9b084",
        "#eeae65",
        "#2c1b1a",
        "#a66739",
        "#716c63",
        "#201215",
        "#110508",
        "#000000"
      ]
    }
  ]
}
