getCMYKProfileInfo

Deprecated

Use getDocumentColorProfileInfo with Default/CMYK instead.

Replace with

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

What the document stores about its CMYK profile.

Reports the profile that the document names, whether it is loaded, still loading, or failed to load. The fallback profile is not reported. Await EditorApi.loadColorProfiles to learn whether the profile that renders is usable.

Return

the info for the document's CMYK profile.

Throws

when the document names no CMYK profile.