Document.convertProfile

void convertProfile (String destinationProfile, Intent intent, bool blackPointCompensation, bool dither)

Parameters

destinationProfile The color profile to convert to. Either a string specifying a color profile, one of the working color spaces, or Lab color.
intent The conversion intent.
blackPointCompensation If true, black point compensation is used.
dither If true, dither is used.

Description

Converts the document from using one color profile to using another.