# Is it possible to convert CMYK to RGB with Imaging API?

**URL:** <https://forums.creativeclouddeveloper.com/t/is-it-possible-to-convert-cmyk-to-rgb-with-imaging-api/7099>\
**Category:** UXP Plugin API\
**Tags:** uxp, javascript\
**Created:** [November 12, 2023, 8:39am UTC](https://forums.creativeclouddeveloper.com/t/is-it-possible-to-convert-cmyk-to-rgb-with-imaging-api/7099 "2023-11-12T08:39:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![datboi](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@datboi](https://forums.creativeclouddeveloper.com/u/datboi)\
**Post date:** [November 12, 2023, 8:39am UTC](https://forums.creativeclouddeveloper.com/t/is-it-possible-to-convert-cmyk-to-rgb-with-imaging-api/7099/1 "2023-11-12T08:39:02Z")

</div>

Is there any way to convert from CMYK to RGB using the Imaging API? For example, for taking a screenshot of a document that is in CMYK.

[https://developer.adobe.com/photoshop/uxp/2022/ps\_reference/media/imaging/#photoshopimagedata](https://developer.adobe.com/photoshop/uxp/2022/ps_reference/media/imaging/#photoshopimagedata)

---

<div class="post-metadata">

**Author:** ![Kayrock](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kayrock/32/4748_2.png) [@Kayrock](https://forums.creativeclouddeveloper.com/u/Kayrock)\
**Post date:** [December 10, 2025, 11:38am UTC](https://forums.creativeclouddeveloper.com/t/is-it-possible-to-convert-cmyk-to-rgb-with-imaging-api/7099/2 "2025-12-10T11:38:13Z")

</div>

You could duplicate the document, convertMode to RGB, getPixels, close the copy without saving.

---

<div class="post-metadata">

**Author:** ![photonic](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/photonic/32/2513_2.png) [@photonic](https://forums.creativeclouddeveloper.com/u/photonic)\
**Post date:** [December 11, 2025, 9:09pm UTC](https://forums.creativeclouddeveloper.com/t/is-it-possible-to-convert-cmyk-to-rgb-with-imaging-api/7099/3 "2025-12-11T21:09:15Z")

</div>

What @Kayrock says is the easier way to do it, Photoshop handles the heavy part for you, unless the other way is to you manually remap the rgb pixels to fit the colorspace you want with a convertion forumula.
