removeCMYKProfile

abstract fun removeCMYKProfile()

Deprecated

Use removeDocumentColorProfile with Default/CMYK instead.

Replace with

import ly.img.engine.ProfileSlot
import ly.img.engine.ProfileRole
import ly.img.engine.ProfileColorSpace
removeDocumentColorProfile(ProfileSlot(ProfileRole.DEFAULT, ProfileColorSpace.CMYK))

Removes the CMYK profile from the document.

CMYK conversion then uses the fallbackCMYKProfileUri setting, or the bundled profile when that setting is unset. Color management stays on. A setCMYKProfile request that is still loading is cancelled.