{
 "site": "CorkCache.com",
 "author": "@digitalammonium",
 "url": "https://corkcache.com",
 "version": "0.2.0",
 "generated": "2026-12-03T21:58:00.414Z",
 "api": {
  "browser": "window.corkcache",
  "methods": [
   "tools(category?)",
   "describe(id)",
   "run(id, inputs, params, {encoding})",
   "chain(steps, inputs)",
   "batch(plan, inputs)",
   "plan()",
   "activate(licenseKey)"
  ],
  "cli": "node cli/site.mjs",
  "guide": "https://corkcache.com/bot/"
 },
 "categories": [
  {
   "id": "images",
   "name": "Images",
   "count": 6,
   "url": "https://corkcache.com/images/"
  }
 ],
 "tools": [
  {
   "id": "dust-sweeper",
   "name": "Dust Sweeper Card",
   "callNumber": "IMG 001",
   "category": "images",
   "description": "Find dust specks and scratches-in-miniature automatically and fill them from the surrounding picture.",
   "keywords": [
    "dust",
    "dust removal",
    "specks",
    "scan",
    "film scan",
    "clean",
    "spots",
    "despeckle",
    "restore"
   ],
   "url": "https://corkcache.com/tools/dust-sweeper/",
   "input": {
    "accept": "image/*",
    "multiple": true,
    "min": 1
   },
   "params": [
    {
     "id": "sensitivity",
     "label": "Sensitivity",
     "type": "range",
     "default": 60,
     "min": 0,
     "max": 100,
     "step": 1,
     "unit": "%"
    },
    {
     "id": "size",
     "label": "Largest speck",
     "type": "range",
     "default": 4,
     "min": 1,
     "max": 12,
     "step": 1,
     "unit": "px"
    },
    {
     "id": "mode",
     "label": "Specks are",
     "type": "select",
     "default": "both",
     "options": [
      "both",
      "dark",
      "light"
     ]
    }
   ],
   "interactive": false
  },
  {
   "id": "spot-dust-removal",
   "name": "Spot Dust Card",
   "callNumber": "IMG 005",
   "category": "images",
   "description": "Box each spot by hand and heal it from its edges, with grain matched to the photo around it.",
   "keywords": [
    "spot removal",
    "heal",
    "dust",
    "blemish",
    "retouch",
    "clone",
    "spot healing",
    "repair"
   ],
   "url": "https://corkcache.com/tools/spot-dust-removal/",
   "input": {
    "accept": "image/*",
    "multiple": true,
    "min": 1
   },
   "params": [
    {
     "id": "rects",
     "label": "Spots (drag a box over each)",
     "type": "rects",
     "default": [
      {
       "x": 0.46,
       "y": 0.46,
       "w": 0.05,
       "h": 0.05
      }
     ]
    },
    {
     "id": "grain",
     "label": "Match grain",
     "type": "range",
     "default": 50,
     "min": 0,
     "max": 100,
     "step": 1,
     "unit": "%"
    }
   ],
   "interactive": false
  },
  {
   "id": "rgb-eyedroppers",
   "name": "RGB Eyedropper Card",
   "callNumber": "IMG 003",
   "category": "images",
   "description": "Pick a color on the photo and select the exact RGB range around it, then keep, mask, remove or recolor it.",
   "keywords": [
    "eyedropper",
    "color range",
    "select color",
    "rgb",
    "mask",
    "color splash",
    "tolerance",
    "isolate color"
   ],
   "url": "https://corkcache.com/tools/rgb-eyedroppers/",
   "input": {
    "accept": "image/*",
    "multiple": true,
    "min": 1
   },
   "params": [
    {
     "id": "source",
     "label": "Color from",
     "type": "select",
     "default": "photo",
     "options": [
      "photo",
      "swatch"
     ]
    },
    {
     "id": "pick",
     "label": "Eyedropper (click the photo)",
     "type": "point",
     "default": {
      "x": 0.5,
      "y": 0.5
     },
     "showIf": {
      "source": "photo"
     }
    },
    {
     "id": "color",
     "label": "Swatch",
     "type": "color",
     "default": "#c0392b",
     "showIf": {
      "source": "swatch"
     }
    },
    {
     "id": "tolerance",
     "label": "Range (each of R, G, B)",
     "type": "range",
     "default": 20,
     "min": 0,
     "max": 100,
     "step": 1,
     "unit": "%"
    },
    {
     "id": "softness",
     "label": "Soft edge",
     "type": "range",
     "default": 10,
     "min": 0,
     "max": 100,
     "step": 1,
     "unit": "%"
    },
    {
     "id": "action",
     "label": "Do",
     "type": "select",
     "default": "keep",
     "options": [
      "keep",
      "mask",
      "remove",
      "recolor"
     ]
    },
    {
     "id": "recolor",
     "label": "New color",
     "type": "color",
     "default": "#1f6feb",
     "showIf": {
      "action": "recolor"
     }
    }
   ],
   "interactive": false
  },
  {
   "id": "selective-color",
   "name": "Selective Color Card",
   "callNumber": "IMG 004",
   "category": "images",
   "description": "Adjust cyan, magenta, yellow and black inside one color range such as the reds, the neutrals or the whites.",
   "keywords": [
    "selective color",
    "cmyk",
    "color correction",
    "skin tones",
    "reds",
    "neutrals",
    "color grading",
    "print"
   ],
   "url": "https://corkcache.com/tools/selective-color/",
   "input": {
    "accept": "image/*",
    "multiple": true,
    "min": 1
   },
   "params": [
    {
     "id": "range",
     "label": "Colors",
     "type": "select",
     "default": "reds",
     "options": [
      "reds",
      "yellows",
      "greens",
      "cyans",
      "blues",
      "magentas",
      "whites",
      "neutrals",
      "blacks"
     ]
    },
    {
     "id": "cyan",
     "label": "Cyan",
     "type": "range",
     "default": -40,
     "min": -100,
     "max": 100,
     "step": 1,
     "unit": "%"
    },
    {
     "id": "magenta",
     "label": "Magenta",
     "type": "range",
     "default": 0,
     "min": -100,
     "max": 100,
     "step": 1,
     "unit": "%"
    },
    {
     "id": "yellow",
     "label": "Yellow",
     "type": "range",
     "default": 15,
     "min": -100,
     "max": 100,
     "step": 1,
     "unit": "%"
    },
    {
     "id": "black",
     "label": "Black",
     "type": "range",
     "default": 0,
     "min": -100,
     "max": 100,
     "step": 1,
     "unit": "%"
    },
    {
     "id": "method",
     "label": "Method",
     "type": "select",
     "default": "relative",
     "options": [
      "relative",
      "absolute"
     ]
    }
   ],
   "interactive": false
  },
  {
   "id": "vignette-effect",
   "name": "Vignette Card",
   "callNumber": "IMG 006",
   "category": "images",
   "description": "Darken or tint the corners with adjustable size and edge softness.",
   "keywords": [
    "vignette",
    "edges",
    "darken",
    "frame",
    "spotlight",
    "corners",
    "focus"
   ],
   "url": "https://corkcache.com/tools/vignette-effect/",
   "input": {
    "accept": "image/*",
    "multiple": true,
    "min": 1
   },
   "params": [
    {
     "id": "amount",
     "label": "Amount",
     "type": "range",
     "default": 60,
     "min": 0,
     "max": 100,
     "step": 1,
     "unit": "%"
    },
    {
     "id": "radius",
     "label": "Radius",
     "type": "range",
     "default": 45,
     "min": 0,
     "max": 100,
     "step": 1,
     "unit": "%"
    },
    {
     "id": "softness",
     "label": "Softness",
     "type": "range",
     "default": 60,
     "min": 0,
     "max": 100,
     "step": 1,
     "unit": "%"
    },
    {
     "id": "color",
     "label": "Color",
     "type": "color",
     "default": "#000000"
    }
   ],
   "interactive": false
  },
  {
   "id": "final-print",
   "name": "Final Print Card",
   "callNumber": "IMG 002",
   "category": "images",
   "description": "Size the photo for where it is going, add output sharpening, and save it as JPEG, PNG or WebP.",
   "keywords": [
    "export",
    "save",
    "final",
    "output",
    "resize",
    "sharpen for print",
    "web",
    "jpeg",
    "convert"
   ],
   "url": "https://corkcache.com/tools/final-print/",
   "input": {
    "accept": "image/*",
    "multiple": true,
    "min": 1
   },
   "params": [
    {
     "id": "edge",
     "label": "Long edge",
     "type": "select",
     "default": "0",
     "options": [
      "0",
      "3840",
      "2048",
      "1080",
      "640"
     ]
    },
    {
     "id": "sharpen",
     "label": "Output sharpening",
     "type": "select",
     "default": "screen",
     "options": [
      "off",
      "screen",
      "print"
     ]
    }
   ],
   "interactive": false
  }
 ]
}