Image pipeline supports color space

Published: September 15, 2025

v2025-09-15
Image pipeline

The Sanity Image pipeline now supports specifying a color space. The default color space delivered is SRGB as this is web-friendly. By specifying the query parameter cs={srgb,cmyk,b-w} you can render the image in the given color space. We also support specifying cs=origin to render the image in the original image's color space.

Supported color spaces:

  • origin: render the image in the original color space
  • srgb: The default, output the image in web-friendly sRGB.
  • cmyk: Output the image in the CMYK color space
  • b-w: Output will be black and white.