setColorProfile method

void setColorProfile(
  1. Profile profile
)

Sets the color profile for output.

Controls how colors are downsampled (e.g. true color, 256-color, ANSI).

Implementation

void setColorProfile(cp.Profile profile) {
  _profile = profile;
}