Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 72601

Re: Color profile - conditions

$
0
0

Try this:

 

if (app.activeDocument.colorProfileType == ColorProfileType.NONE) {

  alert("This image does not have a Color Profile");

} else {

  alert("The Color Profile of this image is: " + doc.colorProfileName);

}


Viewing all articles
Browse latest Browse all 72601

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>