IHPDFICCTransform Interface

IHPDFICCTransform = interface
  function TransformColor(C1, C2, C3, C4: Double;
    out R, G, B: Byte): Boolean;
  function TransformBytes(Source, Dest: PByte;
    PixelCount: Cardinal): Boolean;
  function ComponentCount: Integer;
end;

ICC color transform seam used by the renderer and by color-space conversion; TransformColor converts one source color into 8-bit RGB and TransformBytes converts a contiguous run of pixels in place between the supplied buffers

ComponentCount reports how many components the source profile expects, which tells the caller how to group the incoming bytes

Loaded Page Color Rewrite