1 Reply Latest reply on Aug 25, 2015 12:11 PM by JJMack

    Automation for joining two sets of images...

    chuck333

      Hello everyone, hoping you can help me automate a process.

       

      Basically I have two sets of jpg files in two different folders. Set A is the top of an image and set B is the bottom of the same image. So the one image is split into two jpgs. There are hundreds of each so doing it manually is not going to happen.

       

      What I need to do is take image B and paste it to the bottom of image A. (Specifically, change canvas size of A to accommodate the new bottom part, then take file B, select all, copy and paste to canvas A, crop and save.)

       

      I am familiar with how to use actions to work on a single set of files but have no idea how to do this with two sets. I have tried and it always wants to put the first B image in the set onto every single A image.

       

      Is this possible or do I have to script it with something else?

       

      Thanks in advance!

        • 1. Re: Automation for joining two sets of images...
          JJMack Most Valuable Participant

          if the top and bottom image have names that  identify they are for the same image.  You could write a script to do what you want. If scripting is beyond you abilities, You may be able to copy all the images into a third folder. create a Photo Collage Template that has two image location. Image 1 above image 2 to form a composite.  Then populate the template with you images using my batch Photo Collage populating script.   The top and bottom image would need to sort in order. Like  Image1a Image1b, Image2a, Image2b....

           

          Capture.jpg

           

          Photo Collage Toolkit

           

          Photoshop scripting is powerful and I believe this package demonstrates this A video showing a 5 image collage PSD template  being populates with images:

           

          The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.

          1. Size the photo collage templates for the print size you want - width, height and print DPI resolution.
          2. Photo collage templates must have a Photoshop background layer. The contents of this layer can be anything.
          3. Photo collage templates must have alpha channels named "Image 1", "Image 2", ... "Image n".
          4. Photo collage templates layers above the background layers must provide transparent areas to let the images that will be placed below them show through.

           

          There are twelve scripts in this package they provide the following functions:

          1. TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
          2. CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
          3. LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
          4. InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
          5. ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
          6. ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
          7. PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
          8. BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
          9. BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
          10. BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
          11. PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
          12. PCTpreferences.jsx - Edit This File to Customize Collage Populating scripts default setting and add your own Layer styles.

           

          Documentation and Examples