Duplication of the Image

Hi all

Could help you find duplication of the images in the document.

for example, need to find the "index2.jpg.

Screenshot is below to:

Screen Shot 2014-12-22 at 11.09.39 AM.png

Thanks in advance

Siraj

Hi Siraj,

Try this,

var doc = app.activeDocument,
    _links = doc.links.everyItem().getElements(),
    linknames = [];
for(var i =0;i<_links.length;i++)
{
        linknames.push(_links[i].name)
    }
linknames.sort();
var found = [];
for(var i=0;i

Kind regards

Cognet

Tags: InDesign

Similar Questions

  • Duplication of the images with multiply does not quite...

    Help.jpg

    Okay, so I'm puzzled.

    I just gave and got on the train CC after years of use of CS5. I decided to try this whole thing of CC community instead of just googling so this is:

    I want to create a transparent image (see image above) and the best option that I see so far is multiply, but it leaves a darker area where the images overlap. I tried to use the wand, but you know how sticky, it seems later. There MUST be a quick and simple way to do this kind of stuff so here I ask the Lords for their expertise.

    Thanks in advance.

    Select all layers, then go to Edit > auto-merge layers

    Try with just the Normal blending mode on each layer.

  • Problem with duplication of the images during distillation

    I have an announcement that I created in InDesign. When I export to PDF for proofing it very well. But when I distill to edit it strikes the color of the images overlap. I enclose the images so you can see what I mean.

    That's what it should look like:

    Correct.jpg

    This is what he does after distillation:

    PROBLEM.jpg

    Here's a screen Cap parameters distiller:

    DISTILLER SETTINGS.jpg

    And here is my print settings:

    Print preset: Dist color
    Printer: PostScript® file
    PPD: Acrobat Distiller
    PPD file: C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\ADIST5. PPD

    General
    Copies: 1
    COLLATE: n/a
    Switch: Off
    Pages: all the
    Sequence: All Pages
    Spreads: Off
    Print templates: Off
    Impression of the layers: visible and printable layers
    Print nonprinting objects: Off
    Print blank Pages: Off
    Print visible guides and baseline grids: n/a

    Setup
    Paper size: Custom
    Paper width: Auto
    Paper height: Auto
    Page orientation: Portrait
    Paper Offset: 0P0
    Paper gap: 0P0
    Cross: n/a
    Graduation: 100%
    Constrain Proportions: on
    Page position: centered
    Thumbnails: Off
    Tiling: Off

    Marks and bleeds
    Crop marks: Off
    Brands of purge: Off
    Registration: Off
    Color bars: Off
    Information page: Off
    Type of printer brand: default
    Brand harvest weight: 0.25 pt
    Brand of offset from the Page: 0P6
    Use Document bleed settings: on
    Top of purge: 0P0
    Bottom purge: 0P0
    Serving inside: 0P0
    Serving outside: 0P0
    Slug area: Off

    Output
    Color: CMYK test
    Black text: n/a
    Trapping: n/a
    Flip: no
    Negative: n/a
    Screening: default
    Simulate overprint: Off

    Graphics
    Send data: all the
    Download: full
    Download PPD fonts: on
    PostScript®: Level 3
    Data format: ASCII

    Color management
    Document profile: US newsprint (WINK 2007)
    Color management: Let InDesign determine colors
    Printer profile: Document CMYK - US newsprint (WINK 2007)
    Keep the CMYK numbers: on
    Profile of the evidence: n/a
    Simulate paper color: n/a

    Advanced
    Print as Bitmap: n/a
    Bitmap resolution: n/a
    OPI Image Replacement: Off
    EPS: Off
    PDF: Off
    Bitmap images: Off
    Transparency flattening preset: [medium Resolution]
    Ignore spread overrides: Off

    We use Distiller 5.0 and InDesign CS5.

    Is that affected the color (gold/yellow) a Spot color by chance?

  • Please help me with the issue of the image

    Hello

    I need to create a report of error log which two same named images overlapped together.

    Screen Shot 2015-12-16 at 1.01.06 PM.png

    The image above shows how is my page indesign file. I need the report as error log:

    With overlapping of images: photo_sample3.jpg

    Logic:

    I don't know what logic I need to use to get there. But with my knowledge, I thought, I can use the image name and the value of geometric image to achieve. I found a script that gives the number duplication, if any of this page in this page of this forum.

    var overlapArray = new Array();  
    var myPages = app.activeDocument.pages.everyItem().getElements();  
      
    for(i=0; i<myPages.length; i++)  
    {  
        var myPgItems = myPages[i].allPageItems;  
        for(k=0; k<myPgItems.length; k++)  
        {  
         var bounds1 = myPgItems[k].geometricBounds;  
                for(j=0; j<myPgItems.length; j++)  
                     {  
                       var bounds2 = myPgItems[j].geometricBounds;  
                         if(k==j)  
                         {  
                             continue;  
                         }  
                        var temp = touches(bounds1, bounds2);                     
                        if(temp == true)  
                        {  
                            overlapArray.push(myPages[i].name)  
                        }  
                 }  
             }  
     }  
    alert("overlap Pages: "+overlapArray);  
      
    function touches(bounds1, bounds2)  
    {  
    if (bounds1[2] < bounds2[0]) return false;  
    if (bounds1[0] > bounds2[2]) return false;  
    if (bounds1[1] > bounds2[3]) return false;  
    if (bounds1[3] < bounds2[1]) return false;  
      return true;  
    }   
    

    Please help me with script or logic.

    Thank you in advance,

    Kitty

    Hi well,.

    all was needed was a line of code

    Array.prototype.intersect = function ( coordinates ) {
        var n = this.length;
        var nY1, nX1, nY2, nX2;
        var y1 = coordinates[0];
        var x1 = coordinates[1];
        var y2 = coordinates[2];
        var x2 = coordinates[3];
    
        while ( n-- ) {
            nY1 = this[n][0];
            nX1 = this[n][1];
            nY2 = this[n][2];
            nX2 = this[n][3];
    
            if (
                (
                    ( y1>=nY1 && y1<=nY2 )
                    &&
                    (x1>=nX1 && x1<=nX2 )
                )
    
                ||
    
                (
                    ( y2>=nY1 && y2<=nY2 )
                    &&
                    (x2>=nX1 && x2<=nX2 )
                )
    
            ){
                return true;
            }
        }
    
        return false;
    }
    function reportOverlaps() {
        var doc,gs, g, n, o = {}, p, pg, pb, lk, lkn, overlaps = [];
    
        if (!app.documents.length) return;
    
        doc = app.activeDocument;
    
        gs = doc.allGraphics;
    
        n = gs.length;
    
        while ( n-- ) {
            g = gs[n];
            p = g.parent;
            pg = p.properties.parentPage;
            if ( pg instanceof Page ) {
                pb = p.visibleBounds;
    
                lk = g.itemLink;
                lkn = lk.name;
    
                if ( !o[pg.name] ) {
                    o[pg.name] = o[pg.name] || {};
                }
    
                if ( !o[pg.name][lkn] ) {
                    o[pg.name][lkn] = o[pg.name][lkn] || [];
                    o[pg.name][lkn][ o[pg.name][lkn].length ] = pb;
                }
                else {
                    var intersect = o[pg.name][lkn].intersect ( pb );
                    intersect && overlaps[ overlaps.length ] = "Pg:"+pg.name+"//"+lkn;
                    o[pg.name][lkn][ o[pg.name][lkn].length ] = pb;
                }
            }
        }
    
        alert( overlaps.length? "Following overlaps where found:\r"+overlaps.join('\r' ) : "No overlaps found" );
    }
    
    reportOverlaps();
    

    Loïc

    www.ozalto.com

  • So frustrated... have CS5 and whenever I try to use the clone stamp, it just does not move picture.  I click on duplicate, move the image to press option and the minute I move stamp image, it starts moving around image as if there are two pictures the

    Frustrated by the clone in CS5 stamp.  Whenever I go to the for use, it just moves the image as if I had multiple layers.  Is anyone out there can help with this?

    Check the palette Source of duplication for options that you forgot which allows...

  • Help - Clone causes the image to move

    PES 9

    When I move the clone on the image stamp he moves the entire picture and shows an image duplicated under. It is a new problem as I have used this tool often.

    Thanks in advance for your help.

    You probably have the Clone Source Overlay.

    Most of the people put to Eclipse so you can always see a preview of source of duplication, or you can turn it off.

    There is a button on the toolbar options for the clone source options:

  • Don't see how to create a system of duplication of the time of importation. Not all are copied.

    Dear users of LR,

    I thought that LR3 would act in the same way that I saw LR2.7 Act when the duplication on import. At the time, I saw a file created whenever I imported - titled 'imported Friday, July 23, 2010' for example. Yes, it does not match the structure of image shown inside LR folders but it gave me a good shot to find the image if I had to. These files were crreated on another internal hard drive. No RAID here.

    A few weeks after the passage in LR3 Finally, I looked to the specified backup file (I guess I have too much faith in backup gods Elves) and nothing on the other hard drive the folder I designated BUT the images are all loose in there, and the total number of images is about 2/3 of the total number of images imported into LR3.

    I looked closely at the place of imports (right pane) in which I make the choice and if there is a setting that will make the process a result identical to what I saw in LR2.x I am not able to see.

    Suggestions? work - arounds? Thank you, in advance, for carillon.

    jonathan7007

    ... BUT the images float right there,

    This is a known issues. LR 3 puts all backups of import in a big pile of files, in contrast to LR2. Don't know if it is a bug or design change. S Thers nothing you can do, so far, aside from using a third party software to ingest.

    and the total number of images is about 2/3 of the total number of images imported into LR3.

    It is a more serious problem. I've never heard of this. If you are sure you have counted everything correctly, this is a serious bug and should be reported here.

  • Content of the image that is not defined in the TileList component

    I have two images on a canvas, it is directly on the Web using the inline code, the other is embedded in a tilelist. The two images of rendering. When I click and drag the image online, the drag proxy appears normally. When I click on and drag the image in the tile list, I get an error when I try to make a copy of the bitmap image. This happens because the content of the image in the tile list is null, even if the source value is correct and the image has been loaded. I'm assuming that he is some kind of problem itemRenderer, but I'm not clear on how it retains the source of the image, but not the content. If it is the image of duplication and making reference to another bitmap, how do I enter this bitmap?

    The code is lower except for the image.

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="absolute"creationComplete =" init () "> "

    < mx:Script >
    <! [CDATA]
    Import mx.collections.ArrayCollection;
    Import mx.managers.DragManager;
    Import mx.core.DragSource;

    [Bindable] private var images: collection ArrayCollection = new ArrayCollection collection;

    private function init (): void {}
    i.source="images/1.PNG '; //Set the image source which is placed directly on the canvas, this image has a drag proxy
    var i2:Image = new Image; //Create new image to add to the list of tile, this image is not a proxy valid drag because the content is missing
    I2.source="images/1.PNG ';
    images.addItem (i2);
    }
    private void mouseMoveHandlerTileList(event:MouseEvent):void
    {
    var tl:TileList = TileList (event.currentTarget);
    var image: Image = tl.selectedItem as Image;
    If {(image)
    Here the image contains the right source, but no content.
    initiateDrag (event, image);
    }
    }

    private void mouseMoveHandlerImage(event:MouseEvent):void
    {
    var image: Image = Image (event.currentTarget);
    If {(image)

    Here the image contains content
    initiateDrag (event, image);
    }
    }

    private void initiateDrag(event:MouseEvent,_image:Image):void {}
    var dragInitiator:Image = image;
    var ds:DragSource = new DragSource();
    ds.addData (image, "item");
    var dragProxy:Image = new Image;
    var data:BitmapData=Bitmap(image.content).bitmapData.clone(); /image. Happy is not null for canvas used, but has the null value for image in the list of tile
    dragProxy.source = new Bitmap (data);
    DragManager.doDrag (dragInitiator, ds, event, dragProxy);
    }

    []] >
    < / mx:Script >
    < mx:Canvas id = 'c' width = '100 percent"height ="100% ">

    < mx:Image id = 'i' mouseMove = "mouseMoveHandlerImage (event)" x = "400" y = "400" / > "
    < mx:TileList id = dataProvider "t" = "{images}" mouseMove = "mouseMoveHandlerTileList (event)" "
    x = "0" y = "0".
    >

    < mx:itemRenderer >
    < mx:Component >
    < mx:Image source = "{data.source}" / >
    < / mx:Component >
    < / mx:itemRenderer >
    < / mx:TileList >
    < / mx:Canvas >
    < / mx:Application >

    If this post has answered your question or helped, please mark it as such.

    To access the items in the container when using some renders can be problematic, because Flex recycle items for large sets of data.

    So this code works very well, but uses a Repeater. You may need to do some thinking to rework your concept, but it works:


    http://www.Adobe.com/2006/mxml">
     
        Import mx.collections.ArrayCollection;
    Import mx.managers.DragManager;
    Import mx.core.DragSource;
           
    [Bindable] private var images: ArrayCollection = new ArrayCollection([) collection

    'assets/images/BobSmith.jpg '.
    ]);

    private void mouseMoveHandlerTileList(event:MouseEvent):void {}
    var image: Image = Image (event.currentTarget);
    If {(image)
    initiateDrag (event, image);
    }
    }
               
    private void mouseMoveHandlerImage(event:MouseEvent):void {}
    var image: Image = Image (event.currentTarget);
    If {(image)
    initiateDrag (event, image);
    }
    }
               
    private void initiateDrag(event:MouseEvent,_image:Image):void {}
    var dragInitiator:Image = image;
    var ds:DragSource = new DragSource();
    ds.addData (image, "item");
    var dragProxy:Image = new Image;
    var data:BitmapData=Bitmap(image.content).bitmapData.clone(); image. Happy is not null for canvas used, but has the null value for image in the tile list
    dragProxy.source = new Bitmap (data);
    DragManager.doDrag (dragInitiator, ds, event, dragProxy);
    }
    ]]>
         
     
       
         
                     
         

       

       
     

  • Is it possible to sort the images by file name?

    I imported a record of 200 images in Photos for OS X (El Captain). Image files have been appointed in the order - I want them to appear in a slide show: photo_01, photo_02 etc...

    Once I imported the images - I found them all out of order - and the only options I can find in the view menu are somehow 'oldest first', 'newest first' or ' title '. Please, someone tell me I'm missing something obvious - he and not that Apple chose to omit the possibility to sort the images by name? If this is the case - I'm speechless - how is f - ing stupid!

    Sort by file name is not an option in the Photos. Albums and smart albums you yourself set can be sorted by name, date of capture, or manually.

    Sorting through the predefined albums is automatic:

    • 'Photos' display with moments and collections is sorted by date of capture and the location.
    • 'All the Photos' display is sorted by the date of the import session.
    • Other built-in smart albums are sorted by the date of capture.

    You can see the current sort order, preset, if it is grayed out in the "view > sort ' menu.

    As a workaround:

    1. If you need to want pictures to be sorted by file name, copy the name of the file in the title field. Then, create a smart album of the items and sort by title. We have posted a trick to copy the name of the file in the title field for the selected photos: Script: change the title filename without Extensionor: Script: batch change the titles of the Extension/w
    2. Or view your photo library in pictures of power.  This versatile tool lets you browse photos as a list or thumbnail while looking the other metadata under the thumbnails or displayed as list with columns selected and sorted by columns.

    You can do a lot with the free trial: download PowerPhotos here: Fat Cat Software-PowerPhotos

  • Update to iOS 10 stops to record the Image of emails

    After the upgrade to iOS 10, I can to is no longer tap and hold on an image received and displayed within an e-mail message to save the Image from my camera in a context menu. Instead, it seems to only be able to save the text of the URL associated with the image. Ditto for images of websites in Safari.

    Here's how 'save image' is done 10 IOS:

    • Tap and hold the photo (or video)
    • Press "Quick Look".
    • Tap upward facing arrow coming out of the box (lower-left)
    • Press 'Save Image'.

    http://help.Apple.com/iPhone/10/#/iph845853585

  • replace the image number

    is it possible to remove the camera given the number of image and replace it (in a change of badge) with a personal number (is it possible in Aperture)?

    No - you can add a title that can be displayed below the image

    LN

  • When I click on "Copy picture", when I use the dough, it's to show the image URL

    Hello

    I'm having a problem about the exemplary Image resource. I need to copy and paste a lot of images to work.

    I click on an image, holding control and then press "copy picture". But when I paste, it shows the URL of the image and not the image. I tried on different browsers and apps, but the same error occurs.

    Can someone help me please? How should I do? It has changed from one day to the other.

    Thank you

    It looks like you use context Menus to copy your images. Depending on your machine or software, each user will have different contextual shortcuts.

    You might do better to use an application like SnapnDrag, which is free in its basic mode.

  • How can I get the images to display in order of filename on my iPad?

    I have about 800 images I use in teaching Kinesiology, and their file names provide the structure (they are named by the chapter number then the image).  How can I get to display in order of file name in 'photos' on my iPad?

    Second, how can I check the file name while I look at the pictures (so I can see where I am in the bridge of 800 and also inform students what image I'm referencing)?

    Thank you!

    I'm sorry but there is no way to do this. The iOS system is currently not able. This article can help explain how iOS displays images.  Order of Photos in iOS

    The only alternative would be to create an Album in the Photos App (you can rearrange manually) or use a 3rd party App. None Displays the names of files. You may need a MacBook to do what you want.

  • I have a HUD following my cursor with info on the image. How can I get rid of him?

    One of my Mac Pro, there's a HUD display with information about the image. It sticks to my cursor, and making it difficult to work. I'm sure there must be a command to stop this, but I'm not. I have another Mac Pro at work, and he does not. Any help would be appreciated.

    It's probably the Tooltip Metadata.

    You switch on and off with the key combination command-T or the browser and menu overlay metadata visualization:

  • Can Thunderbird offer the possibility of images slect, via the thumbnail option, the selection of the images into the body of the email?

      • Thunderbird v.38.4.0 *.

    Not sure if the title makes sense, but I'm trying to find out if there is an option for Thunderbird display images as thumbnails, when you search for an image to be inserted into the body of an email? In other words, is possible that I can see what the images are, through Browse, before I "insert" in the body of the email. IE: thumbnails?

    Usually, it would be somewhere in the display options, where you can choose the size of icons, but the look on things, I don't think there are a thumbnails option, but I wanted to confirm this.

    If this isn't the case, it is a great option for future generations. It just makes so much more easier if embed you images, rather than tie them.

    Kind regards
    b1rd

    It shows the photos here for large or medium-sized icons, win 10. Open File Explorer and look at the display settings under Options files (see photo).

Maybe you are looking for