Is that something that photoshop scripting could do?
Could you post a set of four source-images and the intended resulting image?
First, the four images. Each image is 400x400 pixels.
The final image will be 800x800, so as to fit all four images. I figure it's probably just a matter of copying image 1, pasting it into the new image, then selecting all and aligning to top and left edges. Then copying and pasting image 2 and aligning it to top and right edges, and so forth. Can't figure out how to do this with actions though.
By the way, each of those images above has a white border, which is why you see white in the final image.
I feel what you want to do would be a real ambitious first Photoshop script. Adobe scripting documentation, sample script and Scriptlistener are not part of the standard install. You must download these from Adobe. Adobe Photoshop Scripting | Adobe Developer Connection.
I'm not the best coder still you may want to look ate the code I came up with.
Photo Collage Toolkit UPDATED Made Rotate for Best Fit an option in PasteImageRoll.jsx Edit to customize your default settings.
Photoshop scripting is powerful and I believe this package demonstrates this.
The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
There are twelve scripts in this package they provide the following functions:
- 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.
- BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
- PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
- PCTpreferences.jsx - Edit This File to Customize Collage Populating scripts default setting and add your own Layer styles.
Thanks JJMack! I'll take a look at some of this. The script listener sounds like it might be right up my alley.
After I thought about it, I could indeed house my images all in the same folder. If I were somehow able to 'open next document in folder' in photoshop, I'm sure I could just build an action, which I have plenty of experience with. Sounds like script listener is to scripting as the action 'recorder' is to creating actions.
I was hoping it would be something straightforward. At it's most simplistic, I figure it could something like.
Create new 800x800 file, open first file in folder, select all, copy, paste into 800x800 file, select all, align layer to selection (top left), open next file in folder, copy and paste into 800x800 file, select all, align to selection (top right), open next file in folder, etc, etc. Closing these files as we go of course, and flattening and saving the image after every fourth image paste
Will your script do that if I'm able to get all my files arranged in a folder so that they are in perfect order to be automatically placed as such?
Thanks again for your insight and willingness to share with a newb! I will look at this further. I'm sure the script listener will be just what the doctor ordered!