Visibility of clipping paths

Whilst CS 6 has some great improvements, I find running clipping paths in it very difficult. That is because in earlier versions of photoshop, clipping paths showed up in the complementary colour of the underlaying colour and were very visible. Now they are a darkish grey, which makes it often impossible to see them. You can go blind trying to see where you are clipping.
Any solutions to this?

I only have CC installed at the moment, and paths work really nicely on that, flipping from black to white according to the colour behind them.  It always used to be a problem, and I have seen many discussions and moans on the subject, so you might have to grin and bear - or get a CC subscription

Similar Messages

  • Trouble with clipping paths in Photoshop CS5

    Hello everyone, I am having trouble with clipping paths in Photoshop CS5. When I start a new path both path and anchor points are not visible. working on a Layer not background 0 and a Path Layer was created.I've also noticed that Photoshop started running pretty slow. All other programs are fine. Any Ideas or suggestions? Thank You

    edtGrfx wrote:
    Hello everyone, I am having trouble with clipping paths in Photoshop CS5. When I start a new path both path and anchor points are not visible. working on a Layer not background 0 and a Path Layer was created.
    What do you mean by "a Path Layer was created"?  Path are in the path palette, there is a path in shape layers and they is a path in a vector layer mask. I have never seen a reference to a path layer before this.  When a path in the path palette is selected activate it wall also be shown in the image window.  Does not matter if there is a targeted layer or not.  Control points may or may not be displayed. Using Path tool you can select and select segments and show some or all control points, Path are editable.
    View the following image in a new tab and scale to actual pixels for a clear image this site scales image poorly.

  • Clipping Path Assigner

    Hey All,
    I export high-res pdfs from indesign, and one of the biggest problems I have is during our preflight. Each image we have linked has to be "told" to use it's photoshop path, or else it will not use it upon export (leaving big white boxes).
    For every image, We have to choose Object - Clipping Path - Options: Then Photoshop Path, which automatically selects the available path, then Hit OK. And It won't let us do multiple images at once.
    So the question of a document script comes to mind. Would it be easy to create a script like this?:
    For each visible image:
        Do:
            Object - Clipping Path - Options
                Photoshop Path (will always be named "Path 1" (no quotes) if you need to specify a path name)
        End Do;
    End For;
    Popup - Finished
    I looked for an "Actions" feature of sorts, to record menu actions like photoshop, but it just doesn't exist. Thoughts?
    (I have pretty much zero scripting knowledge, so either a 'for dummies' instruction, or someone to help is in order...)

    Just select the frame and move it...
    What sort of difficulty are you having?

  • [CS2] [JS]  Apply photoshop clipping path

    Hi,
    Does anyone know how to apply the photoshop clipping path to all images in a document, If the image contains one ?
    I can't find a clipping path property of the graphic object in the reference manual...
    The loop structure itself is not a problem...
    for (var j = app.activeDocument.allGraphics.length - 1; j >= 0; j--) {
    Thanx
    Tim

    Hi Peter,
    I've just tried using...
    for (var j = app.activeDocument.allGraphics.length - 1; j >= 0; j--) {
    try
    var theEPSItem = app.activeDocument.allGraphics[j];
    var theClippingPath = theEPSItem.clippingPath;
    if ( ( theClippingPath.clippingType != ClippingPathType.photoshopPath ) &&
    ( theClippingPath.photoshopPathNames.length > 0 ) )
    theClippingPath.clippingType = ClippingPathType.photoshopPath;
    catch ( e )
    ... something strang happens when running the script. The clipping path settings of the EPS-files are changed and are correct. However, the result is not yet visible. So I still have to open the clipping path settings menu and click on the ok button... Then the result is displayed.
    Any idea's ?
    Tim

  • What is the benefit of using clipping paths for a knock out?

    I found a posting saying they need someone to knock out the background of a lot of images using clipping paths. My question is, WHY use a clipping path? I know the rule of not using a selection tool such as the Magic Wand and then turning it into a clipping path and I know why that is. But if all is needed is for the background to be knocked out, why can't we just use the selection tool in the first place and just knock out the background from there? What is the benefit of that clipping mask?

    Usually the term Clipping Path refers to turning a path into a clipping path (in the paths panel) for use in older programs such as PageMaker that don't support transparency.
    For example if one wanted to import a file into PageMaker and only have a certain part of the document visible, one would make a path (or selection) around the object
    and turn the path (or selection) into a clipping path. Sorta the same results you see in photoshop using a layer mask or vector mask.
    Also clipping paths are used in certain printing workflows.
    Without seeing the posting it's hard to say what they meant and in photoshop 6 vector masks were labeled as Layer Clipping Paths not to be confused with real clipping paths.
    Old versions of photoshop also used the term Group With Previous to denote Create Clipping Mask.
    photoshop 6:
    Photoshop cs6:
    Anyway clipping masks and clipping paths are two different things in photoshop.
    layer masks, vector masks and clipping masks:
    http://helpx.adobe.com/content/help/en/photoshop/using/masking-layers.html
    an example of creating a clipping path:
    http://www.clippingpathspecialist.com/tutorials.html

  • Can't get clipping paths to work in PhotoShop CS5?

    I have been working with PS since ver 1. I have always used clipping paths to mask out areas without a hitch. Now, in CS5, it no longer works.
    I have read in the forums that I need to have the Pen tool - in the options area set to "Exclude Overlapping Path Areas. Still does not work. Okay, what am I doing wrong?
    Thank you

    Please post a screenshot of a file with the Paths Panel and Options Bar visible.

  • Finding bounds of nested clipping paths...

    This topic has been touched on before, muppet & sonic have pointed me in the right direction, but I'm stuck right now....
    Seeing as how "saveMultipleArtboards = false" is broken in CS4, and scripting any kind of epsSave results in the artboard size being the bounding box, I am trying to see if I can find out if the "visible to the eye" bounds of artwork exceed the artboard size.
    I can easily find non-clipped objects hanging outside the artboard by comparing the document's visible bounds to the artboard size.
    Likewise the "visible to the eye" bounds of clipped objects :
    var docRef = app.activeDocument;
    docRef.rulerOrigin = [0,0];
    ////Get size of artboard
    var myDocsizeArray = [0,0,docRef.width,docRef.height]
    ////Check for items on page
    if(docRef.pageItems.length != 0){
    /////Find out if top item is clipping mask
    if(docRef.pageItems[0].typename == "GroupItem"){
    if(docRef.pageItems[0].pathItems[0].clipping == true){
    ////Compare its bounds to doc bounds
    var myClipArray = docRef.pageItems[0].pathItems[0].visibleBounds
    if((myClipArray[1] >  myDocsizeArray[3]) || (myClipArray[2] >  myDocsizeArray[2]) || (myClipArray[0] < 0) || (myClipArray[3] < 0)){
    alert("Outside of artboard")
    However, this doesn't work if clipping paths are part of a nested groups. Is there a way to see if a clipping path's parent group is within bounds, or parent's parent group etc. is within bounds. I need to find the topmost clipping path that trumps all the others in any nested group.
    Is that what recursive functions are for? ,,,,,,,,,,,
    Something that can keep looking in a loop within itself?  Very instrospective!
    thx

    Does this help? I use these to position and find bounds based upon what is visible.
    function getRealVisibleBounds(grp) {
         var outerBounds = [];
         for(var i = grp.pageItems.length - 1; i >= 0;i--)  {
              var bounds = [];
              if(grp.pageItems[i].typename == 'GroupItem') {
                   bounds =  getRealVisibleBounds(grp.pageItems[i]);
              else if((grp.pageItems[i].typename == 'PathItem' || grp.pageItems[i].typename == 'CompoundPathItem')
                   && (grp.pageItems[i].clipping || !grp.clipped)) {
                   bounds = grp.pageItems[i].visibleBounds;
              if (bounds.length > 0) {
                   outerBounds = maxBounds(outerBounds,bounds);
         return (outerBounds.length == 0) ? null : outerBounds;
    function maxBounds(ary1,ary2) {
         var res = [];
         if(ary1.length == 0)
              res = ary2;
         else if(ary2.length == 0)
              res = ary1;
         else {
              res[0] = Math.min(ary1[0],ary2[0]);
              res[1] = Math.max(ary1[1],ary2[1]);
              res[2] = Math.max(ary1[2],ary2[2]);
              res[3] = Math.min(ary1[3],ary2[3]);
         return res;
    function positionVisible(grp,x,y)
         var bounds = getRealVisibleBounds(grp);
         var newX = x + (grp.left - bounds[0]);
         var newY = y + (grp.top - bounds[1]);
         grp.position = [newX,newY];

  • Clipping paths in AICS3 IMPROVED!

    This is a multi-part message in MIME format.
    --------------030201010100080805050607
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed
    Content-Transfer-Encoding: 7bit
    Just a word here...
    After reading Bill's thread: Illustrator with Freehand
    Features..
    Mordy Golding put up links to a video podcast about AICS3 and
    some of
    the great enhancements...
    Here's a link Illustrator CS3 Overview
    <
    http://rwillustrator.blogspot.com/2007/03/real-world-illustrator-podcast.html>
    you'll need to sign up to Mordy's video podcasts if you
    haven't already.
    Including the new way in which clipping paths works!.. I
    believe the
    method of creating a clipping path may still be the same
    however the BIG
    difference now is that at the very least alignment uses the
    clipping
    path and not the contents!!! a good step in the right
    direction.. I'm
    still not sure whether the clipping contents outside the path
    remain
    visible or not.. as per previous versions.. but it will be
    interesting
    to see what it's like once it starts to ship and people get
    their hands
    on it.
    Incidentally I used Freehand from version 3 on a PC to MX but
    our studio
    got fed up with Freehands bad color fidelity for printing
    comps - it
    worked fine for output of fairly simple spot colour jobs but
    full colour
    stuff was getting difficult to manage. I didn't cross over
    lightly - I
    used AIv10 in the background sometimes duplicating jobs in AI
    from
    Freehand in my spare time to see how it worked. While I loved
    the tools
    in Freehand - pen tool, Find and replace, paste inside etc..
    better
    colour fidelity and integration with InDesign and Photoshop
    and more
    reliability for output were more crucial to us than the
    tools. That's
    just me/us.
    But at the end of the day it looks like AICS3 is giving us at
    least some
    of what we've been asking for.
    I hope this has been of some help.
    Kind Regards
    Piers Le Sueur
    --------------030201010100080805050607
    Content-Type: text/html; charset=ISO-8859-1
    Content-Transfer-Encoding: 7bit
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <meta content="text/html;charset=ISO-8859-1"
    http-equiv="Content-Type">
    <title></title>
    </head>
    <body bgcolor="#ffffff" text="#000000">
    <font size="-1"><font face="Lucida Grande">Just a
    word here...<br>
    <br>
    After reading Bill's thread: Illustrator with Freehand
    Features..<br>
    Mordy Golding put up links to a video podcast about AICS3 and
    some of
    the great enhancements... <br>
    <br>
    Here's a link <a
    href="
    http://rwillustrator.blogspot.com/2007/03/real-world-illustrator-podcast.html">Illustrator
    CS3 Overview</a> you'll need to sign up to Mordy's
    video podcasts if
    you haven't already.<br>
    <br>
    Including the new way in which clipping paths works!.. I
    believe the
    method of creating a clipping path may still be the same
    however the
    BIG difference now is that at the very least alignment uses
    the
    clipping path and not the contents!!! a good step in the
    right
    direction.. I'm still not sure whether the clipping contents
    outside
    the path remain visible or not.. as per previous versions..
    but it will
    be interesting to see what it's like once it starts to ship
    and people
    get their hands on it.<br>
    <br>
    Incidentally I used Freehand from version 3 on a PC to MX but
    our
    studio got fed up with Freehands bad color fidelity for
    printing comps
    - it worked fine for output of fairly simple spot colour jobs
    but full
    colour stuff was getting difficult to manage. I didn't cross
    over
    lightly - I used AIv10 in the background sometimes
    duplicating jobs in
    AI from Freehand in my spare time to see how it worked. While
    I loved
    the tools in Freehand - pen tool, Find and replace, paste
    inside etc..
    better colour fidelity and integration with InDesign and
    Photoshop and
    more reliability for output were more crucial to us than the
    tools.
    That's just me/us.<br>
    <br>
    But at the end of the day it looks like AICS3 is giving us at
    least
    some of what we've been asking for.<br>
    <br>
    I hope this has been of some help.<br>
    <br>
    Kind Regards<br>
    Piers Le Sueur<br>
    </font></font>
    </body>
    </html>
    --------------030201010100080805050607--

    (I'm still not sure whether the clipping contents outside the
    path remain
    visible or not.. as per previous versions)
    Yes the contents are still visable.
    AI cs3 does have a new quick mask type feature. It only works
    on placed images and not vector artwork. When you place a Photo
    there is a button that appears in the top menu bar called "MASK"
    ..ooo haha.
    So in one step you can set your photo in a clipping mask
    "square" shape only. It creats a path that is the exact size of the
    image you have placed. From there you can resize the path to crop
    the image as needed. the menu bar also shows more options like
    adding a stroke etc.

  • Importing SVG with nested clip-path

    I'm having serious issues in Illustrator CS5 trying to import SVG files with nested clip-path properties.
    Illutrator seems to create unnecessary groups, and messes up with group parents, effectively screwing things up.
    Here is a minimal example :
    <?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY ns_svg "http://www.w3.org/2000/svg"><!ENTITY ns_xlink "http://www.w3.org/1999/xlink">]>
    <svg version="1.1" id="main" overflow="visible" xmlns="&ns_svg;" xmlns:xlink="http://www.w3.org/1999/xlink">
      <g id="piece-1">
        <g clip-path="url(#cpform)" id="form1">
          <g clip-path="url(#cplogo)" id="logo1">
                        <rect fill="#FF0000" x="10" y="10" width="1000" height="1000" />
          </g>
        </g>
      </g>
      <g transform="matrix(1,0,0,1,200,0)" id="piece-2">
        <g clip-path="url(#cpform)" id="form2">
          <g clip-path="url(#cplogo)" id="logo2">
                        <rect fill="#FF0000" x="10" y="10" width="1000" height="1000" />
          </g>
        </g>
      </g>
      <clipPath id="cpform">
              <rect x="0" y="0" width="150" height="150">
              </rect>
      </clipPath>
      <clipPath id="cplogo">
              <rect x="0" y="0" width="100" height="100">
              </rect>
      </clipPath>
    </svg>
    Such a valid SVG file displays fine in Chrome, IE, Opera, Firefox, but Illustrator fails loading it properly, because it creates two groups between "main" and "piece-1" (which is in itself not too bad), and sets piece-1 as a brother of another unnecesarry group from which piece-2 will descend. piece-2 and piece-1 are then clipped with piece-1 clip-path, which is just plain wrong and screws display.
    Note that you can move piece-2 to the root of the document, which restores the display. But save this fixed file, and open it again : it"s back to its broken state.
    Does anoyone know if this is fixed in CS6 ? If there is a workaround ?

    AI doesn't care for the original structure of an SVG. It will merely try to retain the appearance based on its own internal logic, which of course matches how you would create a normal AI file. So no, you can't probably avoid it.
    Mylenium

  • Changing clipping paths

    Hello all,
    I have an idea for a script that bases on modifying the clipping path of an image. Basically what I try to achieve is that the image is visible only inside a selected path with some offset.
    Given a document with one polygon and one image with applied clipping path I would expect this to work:
    var aDoc = app.documents[0];
    var aGrap = aDoc.allGraphics[0];
    var aPol = aDoc.polygons[0];
    var ePath = aPol.paths[0];
    var aClip = aGrap.clippingPath;
    ePath = aPol.paths[0].entirePath;
    aClip.paths[0].entirePath = ePath;
    aClip.insetFrame = -2;
    ePath = aClip.paths[0].entirePath;
    aPol.paths[0].entirePath = ePath;
    But these lines
    aClip.paths[0].entirePath = ePath;
    aClip.insetFrame = -2;
    seem to exclude each other. The insetFrame works fine as long as I didn't touch the path. And the changing of the path works fine but the insetFrame doesn't do anything except showing the spinning ball, that spins until I click somewhere on the pasteboard.
    Am I thinking wrongly or is there a bug that makes my idea impossible?
    Thank you
    Gerald

    The VB.NET project file has the .vbproj extension and is an XML text file. Therefore you can make a backup, then edit it using an editor, such as Notepad. Find the old references by path (probably in
    <Reference> elements) and adjust them (perhaps using ‘Replace All’).
    To avoid such situations if similar changes are expected again, then maybe consider mapping a drive letter, such as ‘S:’, to the server. (Ask IT Department). When server is changed, then the mapping will be adjusted, but the paths and references
    will remain unchanged.

  • Eps into flash8 from Freehand ignores clipping path

    Hi,
    Flash8 is seeing vector lines beyond the clipping path when
    its exported as an eps from Freehand9 or MX.
    I have a map with roads etc drawn in FH9, I have placed a box
    over that part of the map I wish to export as eps and cut contents
    then paste inside box. I now see just the map within the box.
    Export as eps. (I do this all the time). Open it into photoshop, it
    sees just out as far as the box border. No problem
    However File >Import to Library in Flash 8 , then drag
    drop to stage, sees all the artwork outside of the box, stuff I
    don't want. No difference if exported as eps from MX. Trimming
    hundreds of roads etc down to the edge of the box is impractical
    for every eps I need to make, as I need to export each bus route on
    the map as a separate eps, and there are many !
    Envirographics

    > I saved a Photoshop EPS CYMK image with a clipping path.
    It imports into Adobe
    > InDesign CS, but not into Freehand. All I get is a white
    box.
    > I just read here that Freehand will not accept EPS
    files. How else to get the
    > PS clipping path file into a FH document?
    FreeHand will import eps images but while ID can read the
    file and show it on screen FH can only use preview image i.e. low
    resolution version of the image embedded in eps file. Otherwise FH
    will show only the white box. It can be printed with PS printer or
    exported as pdf but placing is of course difficult.
    So you must save the eps with preview. But, the preview is
    not necessarily 'clipped' and all the transparend areas have opaque
    color. As memory serves FH support clipping paths in tiff files and
    clipping is visible but there may be problems in printing.
    You can also export the clipping path as Illustrator file,
    import into FreeHand and paste a non clipped tiff image into it.
    Using clipping paths is somewhat outdated now just as
    FreeHand is.
    I just finnished a book project which included removing
    background from about 150 images. I used Photoshop mask layers and
    imported images into InDesign as cmyk photoshop files. Since the
    layer mask is a grayscale image edges can be fathered and the
    result is way better than with a clipping path. In fact some of the
    images had cliping paths but I converted them all into selections
    and feathered layer masks.
    Also some of the objects had quite shallow depth of field and
    some areas were blurred. Removing background with clipping path
    would have looked awful but I just used more feathering in these
    areas the result was in fact very good.
    Ability to use layered psd files is one of the reasons why I
    quit using FreeHand and use Illustrator (and InDesign) now.
    Jukka

  • CS3 Inverting a Clipping Path

    Is there a way to invert a clipping path when you goof and you make the clipping path of the outside accidently instead of the inside? Thanks.

    Type "A" then select the path. Make sure the anchors are visible.
    Refer to this screenshot
    The path choices are in options bar near the top left (Window: Options)

  • Create clipping path, mask

    I love fireworks, but can't seem to figure this part out...
    when I create a web button (for example), then want to place
    another image over top of it so that it bleeds off the edge, but I
    don't want anything past the edge of the button to be visible - how
    would i do that in fireworks
    correct me if I'm wrong, but that would be a clipping mask or
    clipping path?
    anyone know of a good online tutorial or how-to guide for
    this sort of thing?
    thanks
    --bp

    brandonjp wrote:
    > I love fireworks, but can't seem to figure this part
    out...
    > when I create a web button (for example), then want to
    place another image
    > over top of it so that it bleeds off the edge, but I
    don't want anything past
    > the edge of the button to be visible - how would i do
    that in fireworks
    > correct me if I'm wrong, but that would be a clipping
    mask or clipping path?
    > anyone know of a good online tutorial or how-to guide
    for this sort of thing?
    > thanks
    > --bp
    >
    Here is a series of tutorials for those kinds of operations.
    http://www.projectseven.com/tutorials/images/photo_magic/index.htm
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    http://www.adobe.com/communities/experts/

  • Make a clipping Path while retaining it's appearance - script

    This has been a long standing wish of mine, and I've devised this script that "kind of" works.
    This script takes your selection, copies appearance attributes, and pastes them to the top object after clipping.
    It's currently limited in a few ways:
    • It does not accept compound paths as clipping object (and I don't know how to test for it, nor how to iterate down said compound clipping object to set each path object to clipping separately)
    • It only works with a single stroke or fill
    • It does not understand "no fill" it will fill your object with white instead *FIXED*
    • I'm hoping to use the "graphicStyle" property to copy the appearance, since that sounds way cleaner. But I don't understand how to.
    Even with these limitations, I bound this to CMD+7 using fastscripts - I'm *already* used to it working this way!
    Carlos Santos, thank you for writing the base of what became this script
    I'd be much obliged if anyone can help me out with any of those limitations / wishes.
    #target Illustrator
    //  script.name = Clip Retaining Color.jsx;
    //  script.required = at least two paths selected, top most path is the clipping mask;
    //  script.parent = Herman van Boeijen, www.nimbling.com // 30/11/13;
    //  *** LIMITED TO A SINGLE STROKE AND/OR FILL OF THE CLIPPING OBJECT***
    //  Here's hoping to use the "graphicStyles" property to copy over the appearance.
    if ( app.documents.length > 0 ) {
        idoc = app.activeDocument;
    }else{
        Window.alert("You must open at least one document.");
    var idoc = app.activeDocument; // get active document;
    var sel = idoc.selection; // get selection
    var selectedobjects = sel.length;
    function ClipRetainingColour(idoc){
        var lay = activeDocument.activeLayer
        if(lay.locked || !lay.visible){
            alert("Please select objects on an unlocked and visible layer,\nthen run this script again.");
            return;
        var igroup = lay.groupItems.add(); // add a group that will be the clipping mask group
        var imask = sel[0]; // the mask is the object on top
        var clipcolors = [];
        //copy appearance
        if(imask.filled)     {clipcolors.fillColor = imask.fillColor;}
        if(imask.stroked)    {
            clipcolors.stroked = imask.stroked;
            clipcolors.strokeWidth = imask.strokeWidth;
            clipcolors.strokeColor = imask.strokeColor;
        for (var i = selectedobjects-1 ; i > 0 ; i--){
            var ipath = sel[i];
            ipath.move(igroup, ElementPlacement.PLACEATBEGINNING);
        imask.move (igroup, ElementPlacement.PLACEATBEGINNING);
        //enable clipping
        igroup.clipped = true;
        imask.clipping = true;
        //paste appearance
        if(clipcolors.fillColor)    {imask.fillColor = clipcolors.fillColor;}
        if(clipcolors.stroked)      {
            imask.stroked = clipcolors.stroked;
            imask.strokeWidth = clipcolors.strokeWidth;
            imask.strokeColor = clipcolors.strokeColor;
    if (selectedobjects){
        ClipRetainingColour(idoc);

    *FIXED IT* - it's working!
    I bound this to CMD+7 using the excellent Fastscripts
    My clipping paths will be so much more colorful from now on!
    Yay!
    #target Illustrator
    #targetengine main
    //  script.name = Clip Retaining Color.jsx;
    //  script.required = at least two paths selected, top most path is the clipping mask;
    //  script.parent = Herman van Boeijen, www.nimbling.com // 07/12/13;
    //  *** LIMITED TO A SINGLE STROKE AND/OR FILL OF THE CLIPPING OBJECT***
    //  Big thanks to CarlosCanto and MuppetMark on the Adobe Illustrator Scripting Forums, and my pal Niels Bom for showing me the debugger (...)
    if ( app.documents.length > 0 ) {
        var curDoc = app.activeDocument;
    }else{
        Window.alert("You must open at least one document.");
    var sel = curDoc.selection; // get selection
    var selectedobjects = sel.length;
    var clipobject = sel[0]; // the mask is the object on top
    var clipcolors = [];
    //var pathItems = [];
    var container = curDoc.activeLayer;
    //Only if there are objects selected
    if (selectedobjects){
        if(container.locked || !container.visible){
            alert("Please select objects on an unlocked and visible layer,\nthen run this script again.");
        }else{
        ClipRetCol(curDoc);
    function ClipRetCol(curDoc){
        //IF COMPOUND CLIPPING PATH
            if (clipobject.typename === "CompoundPathItem") {
                //copy appearance
                sel = curDoc.selection;
                clipobject = sel[0].pathItems[0];
                CopyAppearance(clipobject);
                //MAKEMASK
                app.executeMenuCommand ('makeMask');
                //Since making the clipping path changed the selection, set variable for selection again
                sel = curDoc.selection;
                clipobject = sel[0];
                clipobject = clipobject.pageItems[0].pathItems[1];
                PasteAppearance(clipobject);
        //IF REGULAR PATH
            else {
                //copy appearance
                CopyAppearance(clipobject);
                //MAKEMASK
                app.executeMenuCommand ('makeMask');
                //paste appearance
                PasteAppearance(clipobject);
    }//ClipRetCol END
    function CopyAppearance(clipobject) {
                if(clipobject.filled)  {
                    clipcolors.fillColor = clipobject.fillColor;}
                if(clipobject.stroked) {
                    clipcolors.stroked = clipobject.stroked;
                    clipcolors.strokeWidth = clipobject.strokeWidth;
                    clipcolors.strokeColor = clipobject.strokeColor;}
    }//CopyAppearance END
    function PasteAppearance(clipobject) {
                if(clipcolors.fillColor)    {
                    clipobject.fillColor = clipcolors.fillColor;}
                if(clipcolors.stroked)      {
                    clipobject.stroked = clipcolors.stroked;
                    clipobject.strokeWidth = clipcolors.strokeWidth;
                    clipobject.strokeColor = clipcolors.strokeColor;}
    }//PasteAppearance END

  • Exporting Images and Clipping Paths

    I ran into a problem exporting images the was previously reported by Ruvan Fernando on Jan 25, 2006, but nobody had responded, so I'm trying again...
    I'm using the SDK to open images and then save them back out with different colorspaces, resolution, etc. When I have an image that has a clipping path in it, when it's saved, the clipping path is missing.
    I am copying all the source image attributes to the destination image attributes.
    Any help would be appreciated.

    I tried dragging it, and it gave the original version.
    At Share there are; Print, Email, Desktop, HomePage, .Mac Slides, Order prints, Send to iDVD, Burn Disk, Export
    I tried Desktop and it put the current image do my wallpaper.

Maybe you are looking for

  • Failed to install Adobe Photoshop CS5.1 on Windows 7 64bit

    I get these errors pop up when i tried to install it on my 64bit Windows 7 laptop. I searched for many solutions online, but none worked for me, so I hope that someone can help me to solve this problem - 0 fatal error(s), 64 error(s), 62 warning(s) W

  • Hard drive not mounting to desktop/computer

    I am setting up my AirPort Extreme 802.11 with an attached 300GB LaCie Brick hard drive with iTunes library. I can see that the Brick is recognized in the AirPort Utility > disks page, but it will not load onto my computer and I can not access it. I

  • Date formatting in MX7

    Hello, I am trying to upgrade my applications from v4.5 to MX 7. The application seems to have issues with handling date fields. The dates are saved in the database correctly, however, when the app pulls it from the database, displays it with timesta

  • Can I produce a list of Aritsts / Albums directly from my itunes library?

    As the title says really! I want to porduce a word document (or similar) listing the content of my library. I have managed to do it once in the past but I cannot seem to do it again! Any help would be very much appreciated. rhid

  • Ibooks author for 10.6 ???

    I was told that Author would work on 10.6.6 and later, however when I try to download it now says that I have to have  10.7.2. My machines cant load 10.7 so where do I get the Ibooks Author version that will run under 10.6.8?