---
name: "TranslateColors"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/TranslateColors"
---

# TranslateColors(3w)

## NAME

**TranslateColors** (MSCMS.@)

## SYNOPSIS

BOOL TranslateColors\
  (\
   HTRANSFORM *handle*,\
   PCOLOR     *in*,\
   DWORD      *count*,\
   COLORTYPE  *input\_type*,\
   PCOLOR     *out*,\
   COLORTYPE  *output\_type*\
  )

## DESCRIPTION

Perform color translation.

## PARAMS

transform **\[In\]**  Handle to a color transform.

input **\[In\]**  Array of input colors.

number **\[In\]**  Number of colors to translate.

*input\_type* **\[In\]**  Input color format.

output **\[Out\]**  Array of output colors.

*output\_type* **\[In\]**  Output color format.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Declared *in* **"icm.h"**.

Implemented *in* **"dlls/mscms/transform.c"**.

Debug channel **"mscms"**.
