• Returns a function which applies the specified colorspace/premultiplication conversion. Does not clamp, so may return values outside of the dstColorSpace gamut, due to either color space conversion or alpha premultiplication.


    • __namedParameters: {
          dstColorSpace?: PredefinedColorSpace;
          dstPremultiplied: boolean;
          srcColorSpace?: PredefinedColorSpace;
          srcPremultiplied: boolean;
      • Optional dstColorSpace?: PredefinedColorSpace
      • dstPremultiplied: boolean
      • Optional srcColorSpace?: PredefinedColorSpace
      • srcPremultiplied: boolean

    Returns InPlaceColorConversion

Generated using TypeDoc