7 Replies Latest reply on Jul 31, 2013 2:40 AM by Laubender

    How to identifying images space? [RGB/CMYK]

    R-Bala-Krishnan Level 2

      Hi,

       

      Could you please any one help me, how to identify image space [RGB /CMYK] of links in InDesign CS5.5.

      Is it possible? or We need to use bridge only?

       

      I tried b/m code, but i got "Error: A value is not available for this type of image" message

       

       

      var myLinks = app.activeDocument.links;

      try{

      for ( i = 0; i < myLinks.length; i++ )  {

          var link = myLinks[i];

          if (link.status == LinkStatus.NORMAL) {

              var image = link.parent;

              alert(image.space);

              }

          }

      }

      catch(e){

      alert(e);

      }

       

       

      --

      Thanks in advance,

      Bala