{"record":{"id":"ee7953bdd35e1ce4","repo":"gatsbyjs/gatsby","slug":"tracesvg-placeholder-generation-is-no-longer-suppo","errorCode":null,"errorMessage":"traceSVG placeholder generation is no longer supported, falling back to blurred. See https://gatsby.dev/tracesvg-removal/","messagePattern":"traceSVG placeholder generation is no longer supported, falling back to blurred\\. See https://gatsby\\.dev/tracesvg-removal/","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-plugin-sharp/src/index.js","lineNumber":387,"sourceCode":"  const result = await processFn(arg)\n  await cache.set(cachedKey, result)\n\n  return result\n}\n\nasync function base64(arg) {\n  if (arg.cache) {\n    // Not all transformer plugins are going to provide cache\n    return await cachifiedProcess(arg, generateCacheKey, generateBase64)\n  }\n\n  return await memoizedBase64(arg)\n}\n\nlet didShowTraceSVGRemovalWarning = false\nasync function traceSVG(args) {\n  if (!didShowTraceSVGRemovalWarning) {\n    console.warn(\n      `traceSVG placeholder generation is no longer supported, falling back to blurred. See https://gatsby.dev/tracesvg-removal/`\n    )\n    didShowTraceSVGRemovalWarning = true\n  }\n\n  const { src } = await base64(args)\n  return src\n}\n\nasync function stats({ file, reporter }) {\n  const pluginOptions = getPluginOptions()\n  let imgStats\n  try {\n    const pipeline = sharp({ failOn: pluginOptions.failOn })\n    fs.createReadStream(file.absolutePath).pipe(pipeline)\n\n    imgStats = await pipeline.stats()\n  } catch (err) {","sourceCodeStart":369,"sourceCodeEnd":405,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-plugin-sharp/src/index.js#L369-L405","documentation":"Removal notice in gatsby-plugin-sharp's traceSVG stub: traced-SVG placeholders were removed from sharp, so any call to traceSVG() now logs this once (guarded by didShowTraceSVGRemovalWarning) and falls back to the blurred base64 placeholder. getTracedSVG resolvers that still call it get blurred output instead.","triggerScenarios":"Thrown at packages/gatsby-plugin-sharp/src/index.js:387 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use placeholder: \"blurred\" instead","Remove tracedSVG options from gatsbyImageData arguments"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e85d62f1779e353eaac1753211629a26d123e26c","analyzedAt":"2026-08-26T17:50:09.662Z","contentChangedAt":"2026-08-26T17:50:09.662Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}