13 Replies Latest reply on Mar 27, 2014 6:21 AM by Jump_Over

    How can I find color swatch in bitmap images

    AsOne

      Hi All,

       

      I can't find the color swatch in bitmap images, like finding fill color objects

       

      Help would be appreciated.

       

       

      var mydoc=app.documents.item(0)

      var myobjects = mydoc.splineItems.everyItem().getElements();

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

          var myobject=myobjects[i];

      if (myobject.fillColor.name=="FINISHING") {

          myobject.itemLayer=mydoc.layers.item("LASER");

          }

      }

       

       

      Thanks