Photo Collage Toolkit
- January 23, 2016 Updated BatchMultiImageCollage.jsx, BatchPicturePackage.jsx and BatchPicturePackageNoRotate.jsx To improve performance.
- Download Latest Version
Photo Collages Toolkit Intro
This package is for Photoshop not Photoshop Elements. Elements ships with its own collage helper application which uses elements features. Photoshop has advance automation features not in Elements which this package makes use of.
If you Follow four simple rules contained in here while making Photoshop Photo Collage Templates PSD files, you will be able to use the Photoshop scripts in this Photo Collage Toolkit package. You will be able to make photo collage templates with ease and populate them quickly with your pictures. This toolkit provides both interactive and fully automated Photoshop scripts to populate your photo collage templates and an interactive script to test a template while you’re making it with Photoshop. These scripts use Photoshop's "Place feature" to insert your images into collages as smart object layers, therefore all Photoshop supported image file types can be used to populate templates. Using the interactive script you select which template you are populating, you select the images used throughout the entire process and you control image sizing and cropping. With the two batch Photoshop scripts, you select which photo collage template is to be populated. You set which folder contains images you want the collage template populated with and you set where the output collages are to be saved. These fully automated scripts places and transforms your images into the template and saves populated collages into the destination folder. All the scripts have options you can use to select an optional file name stamps, and select which font and layers styles should be used and applied by the scripts.
Populated Photo Collages are layered Photoshop documents which you can tweak and embellish. Most of the time the populated collages produced will be what you want. However populated collages are layered Photoshop documents which are easy to modify to change the appearance in dramatic ways. Let me try to demonstrate what I mean. I prepared two folders of source images, each having three images and I prefixed their filename with a sequence number# to order the way they will be populated by the automated batch script. I first ran the interactive script to populate one collage and then ran the Batch Multi Image Collage script twice. Each batch run produced a single populated collage because there were only three images in the source image folders and the photo collages templates I pointed the scripts at each time needed three images for population. If there were 6 image in the input folder, two collages would have been produced and saved as PSD files. The two collages produced were saved to a common folder. Here is what the untouched collages looked like.
The first two collages are the same. The first one was populated interactively and the second one automatically. Note the differences between the two.
Next I used Photoshop to edit the automated populated collages to make some changes. I saved some variation of the collages.
I turned off the image layers layer styles. Then deleted the layer mask for the train image layer, loaded the alpha channels as selections and feathered these selection before adding them as layer mask again. I also painted on the right hand train layer mask to blend the image in better.
Next I double clicked on the train smart object layers smart icon to open these inserted PSD images into Photoshop. I turned on their image layer's layer mask and a clone layer in one and saved them so Photoshop would update the smart object layers. Then I moved and transformed the Stamped text layers. I also added two adjustment layers to the old photo layer.
Next I moved and transformed the train layers and reused the smart object layer's layer mask which was not needed for the extractions and used it to blend the trains into the old photo. I also added an empty layer under the train layers and painted away the trains in the old photo. Once again I moved and transformed the text layers.
The Second collage had three landscape images automatically inserted into a three cutout pre made mat template. However one of the cutouts was a portrait cutout that the New Zealand landscape was inserted into..
Turning off the variability of the mat group turned the collage into a three images over a white photo board collage. I changed the smart object image layers layer styles to look better and moved the stamped text layers..
Next I Transformed the New Zealand portrait layer mask into a landscape layer mask and repositioned the New Zealand landscape into it. Then repositioned the other two images over the New Zealand landscape along with the three text layers.
Next I double clicked on the two plane smart object layers smart icon to open these inserted PSD images into Photoshop. I turned on their image layer's layer mask and a clone layers and saved the changes so Photoshop would update the smart object layers. Finished off the collage by transforming the plane layers to rotate their tilt some.
Photo Collages Toolkit History
Photo collages are mainly made two ways. One using precut mats with various cutouts for pictures. Images are placed under these mats. This type of photo collage is used for making things like cards, sports, special occasions etc and things like magazine covers and posters. The second way is to place images on top of something. The something can be a blank canvas, a photo-board or a large image. Small images are then placed onto this surface. These can be placed there orderly, randomly, in a shape, or they can overlay each other and have any shape.
It seemed to me that it would be fairly easy to come up with a set rules for making photo collage templates that could then be populated using Photoshop automation features to place images into these templates. Since Photoshop supports many images file types, images used to populate photo collage templates can even contain some transparency. For example, a png file or a psd file that contains a masked image layer extraction. With the set of rules I came up with, I was able to create a Photoshop actions set that could be used while making templates to see if they were conforming to the rules by populating partly complete templates and to interactively populate a photo collage template with a limited number of images in them once they were completed and saved.
Later on with a lot of work, I was able to support photo collage templates with any number of image inserts using Photoshop scripting. I wrote both interactive and fully automated script processors to populate Photo Collage templates. These scripts obsoleted the actions I had previously created and used. Over time this Photo Collages Toolkit has evolved. The package's main features are the four rules and three Photoshop scripts.
The photo collage template files rule I came up with are simple, easy to understand and not very restrictive
The Four Rules:
- Size the photo collage templates for the print size you want - width, height and print DPI resolution.
- Photo collage templates must have a Photoshop background layer. The contents of this layer can be anything.
- Photo collage templates must have alpha channels named "Image 1", "Image 2", ... "Image n".
- Photo collage templates layers above the background layers must provide transparent areas to let the images that will be placed below them show through.
- HelpPhotoCollageToolkit.jsx - Online Help
- TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
- CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
- LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
- InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
- ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
- ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
- PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
- BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
- 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.
- PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
- BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder. Images Rotates for best fit.
- BatchPicturePackageNoRotate.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder.
- PopulatePicturePackage.jsx - Used to Automatically populate a Photo Collage template Fill with the same single image and leave the populated copy open in Photoshop.
- PCTpreferences.jsx - Preferences Use in several of the above scripts. Edit this file to change default settings and add layer styles.
I want to also thank Diane Ramsey for proofing this making it read better.
Send Bug Reports and Feature Request to JJMack
Links to more information and some examples
Use the pause and rewind buttons to slow down these demos to catch what being presented.
- Automaticly Populate a Photo Collage Template
- Automaticly Populate a 911 Photo Collage Template
- Create a Photo Collage Template using a prototype image layers stack
- Interactively Populated the Photo Collage Template Created above
- Replace a Smart Object Image in a layered Collage with an other image
- Action driven Interactive Snow Globe
Photo Collages Toolkit Package
Photo Collages Toolkit files are packaged into a single zip file PhotoCollageToolkit.zip
Photoshop script used to test a Photo Collage Template while you are making it with Photoshop.
A modified version of Rags Gardner www.rags-int-inc.com Copyright (c) 2006 CollageBuilder script that builds Templates compatible with this toolkit's scripts.
Used to convert a Prototype Image Layer stack into a template document.
Photoshop script used to interactively populate a copy of a Photo Collage template.
a Script to replace a populated collage image layer's Smart Object an other image correctly resized and positioned.
This script can be used to change Image stamps text size when the size used by the populating did not work well.
Photoshop script used to populate a copy of a Photo Collage template without user interaction after they competed the script's dialog, when done leave the populated copy open in Photoshop.
Photoshop script used to Batch Populate Photo Collage templates that only need one image.
Photoshop script used to Batch Populate Any Photo Collage template.
Paste Images into a document to be print on roll paper.
Photoshop script used to Batch Populate Any Photo Collage template like a Piture Package containing a single image with multipal print sizes.
Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder.
Used to Automatically populate a Photo Collage template Fill with the same single image and leave the populated copy open in Photoshop.
Preferences Use in several of the above scripts. Edit this file to change default settings and add layer styles.
- JJmack's Photo Collage Toolkit Scripts.atn
Photoshop action set to access the Photo Collage Toolkit scripts from the actions palette. Load it into the actions palette.
- Photo Collage Styles.asl
Photoshop layer styles. Loaded, these can be used on image layers inserted into photo collages.
- Photo Collage Text Styles.asl
Photoshop layer styles. Loaded, these can be used on filename text layers stamped by the photo collage scripts.
Photoshop PSD files. Some sample photo collage templates.
There is also an optional download file.
Photoshop PSD files. Optional download file with more sample photo collage template PSD files. These are large size files
Additional Collage Templates can be downloaded from my
Mouseprints Photoshop Tools page for various print sizes.
Note: Photoshop scripts can be run from any folder on your system. I use to store mine in "C:\Program Files\Adobe\Adobe Photoshop Scripts\My Scripts".This folder was made by me not Adobe. I use some of my scripts in actions and do not want to have to re-record the actions for each release because Photoshop's folders are in different folders for each release of Photoshop. However Windows 7 with 64 bit Adobe began to install two versions of Photoshop a 64bit version and a 32bit version. Scripts should be able to run is both. However when you put a link in to the folder something in widows or Photoshop changes "Programs Files" to "Program Files (x86)" If your using the 32bit Photoshop exe. The link is broken. So I moved my Photoshop Script tree to "C:\Photoshop Scripts" "Program Files" is no longer in the path to insure the link to it will not get broken. I just add a shortcut link to "C:\Photoshop Scripts" to both the 64bit and 32Bit Photoshop versions .../Presets/Scripts/ folder.
- January 23, 2016 Updated BatchMultiImageCollage.jsx, BatchPicturePackage.jsx and BatchPicturePackageNoRotate.jsx To improve performance.
- March 4, 2015 Handle layered files better in PasteImageRoll.jsx.
- Dec 5, 2013 Made Rotate for Best Fit an option in PasteImageRoll.jsx Edit this file to customize your default settings.
- Oct 21, 2013 Moved default setting and layer styles to a common script PCTpreferences.jsx Edit this file to customize.
- June 25, 2013 Handle PasteImageRoll dialog fields better
- April 30, 2013 Added border options to PasteImageRoll.
- Feb. 17, 2013 Some Clean up in PasteImageRoll skip non image files a user may select and name image layers pasted in.
- Jan. 23, 2013 Some Clean up and added some file extentions used on the Mac.
- Dec. 3, 2012 Added Animated SnowGlobe, SnowGlobe Action set, SnowGlobe Template and SnowGlobe Video Demo.
- Oct. 1, 2012 Updated JJmack's Photo Collage Toolkit Scripts Action set and scripts add new Layer styles and added action to add layer styles to Pasted Images Roll document for borders.
- Sept. 30, 2012 Changed the default Image Pathe staring location to \Picturese\ for Windows 7 and added a screen refresh in the Test in Interactive collage populating scripts.
- June 12, 2012 Adobe removed Picture Package in Photoshop CS6 so I added support for picture packages into the toolkit. PastImageRoll can produce single print size picture packages.
- June 12, 2012 Added BatchPicturePackage script to create Picture Packages like collages so you can create multi size print image sized picture packages.
- Mar. 9, 2012 Added a Script ChangeTextSize This script can be used to change Image stamps text size when the size used by the populating did not work well.
- Mar. 6, 2012 Added a Script PasteImageRoll This will paste images into a document for printing on roll paper.
- Sept. 24, 2011 Added a Script to replace a populated collage image layer's Smart Object an other image correctly resized and positioned.. Assigned its action shortcut to Shift+F2.
- Sept. 14, 2011 Support added for PSB Templates. Video Demo added to help.
- Aug. 22, 2011 Updated CollageTemplateBuilder re-ordered some fields in dialog added a prototype option, a LayerToAlphaChan script and a Template Tutorial.
- Aug. 17, 2011 Updated Photo Collage Toolkit Action set.
- Aug. 16, 2011 Fix a bug script would aborted generating a template if use background as main image was checked and none was used for no background alignment.
- Aug. 16, 2011 updated catch error in texturizer should user change script to create color depth 16bit templates
- Aug. 15, 2011 updated CollageTemplateBuilder to add a cut framing mat layer group with its visibility off.
- Aug. 14, 2011 added a modified version of Rags Gardner www.rags-int-inc.com Copyright (c) 2006 CollageBuilder script with the name CollageTemplateBuilder.
- Mar. 12, 2011 Changed the Add Layer style Code to not link the mask with the smart object for older releases of Photoshop can not link Layer Mask to smart objects.
- Mar. 4, 2011 Reduced the code path length a little and added "Default Style (None)" to the Image and Text Style List.
- Mar. 2, 2011 Coded around a bug in CS2 and possibly in CS4
- Feb. 28, 2011 A user requested a script that would populate a Photo Collage Template without user interaction and leave it open in Photoshop so they could tweak and customize the result. Coded and added a new script named PopulateCollageTemplate.
- Feb. 26, 2011 Removed the need for rule number 5
- Feb. 24, 2011 In the three Collage scripts Added a hard coded var for the default Template Folder Path [ var templateFolder = "C:/Program Files/Adobe/Adobe Photoshop Templates/"; ]
- Jan. 10, 2011 Added Bug report link to help.
- Oct. 11, 2010 Made some of the options sticky Text Location, Font selection, Text Style selection and Image Style Selection. Fixed a bug in the rotated centered text selection.
- Oct. 10, 2010 Installed Windows 7 found the scripts failed to saved their parameters which I fixes. There also seems to be a windows 7 bug I needed to program around when a user canceled the image transform. I had to put out a message otherwise the scripts would fail. I did not have this problem with CS5 an Windows XP a do nothing catch worked fine.
- Oct. 3, 2010 fixed typo in interactive script changed .crR2 to .cr2 for canon RAW files.
- Sept. 30, 2010 Better clean up when interactive user cancels images selection. Routine now deletes the two work layers in the part shelly populated collage that were left behind previously.
- Sept. 29, 2010 removed the dependency the interactive scripts had on actions. Renamed "Actions for Scripts.atn" to "JJmack's Photo Collage Toolkit Scripts.atn" to be able to access the Photo Collage Toolkit scripts from the actions palette. Delete "Actions for Scripts.atn" if you have id and remove it from your actions palette if loaded.
- Sept. 28, 2010 added a Help Button to script dialogs, added Test Collage Template script and enhanced the interactive image placement method.