Skip to main content
August 10, 2011
Question

Can this be done?

  • August 10, 2011
  • 1 reply
  • 337 views

I have 1800 photos of some artwork of all different sizes, ranging from 12"x17" @ 300dpi up to around 27"x45" at 300dpi and everything inbetween, both vertical and horizontal. There is probablly only about 20-30% of those that are exactly the same size. When they shot them they moved the camera up and down, they had the art work on the floor, so that the artwork would fill the frame, so the sizes are all over the place. But I have an excel shee that tells me the true size of all of the different peices of artwork. I also have a photo of two wooden frames one horizontal and one vertical and I need to now take those two frames and make them fit all of these different sizes, while maintaining the correct proportion of the frame to the image. The frame need to remane 1" thick for all of these different sizes, so that these will look like they where all shot using the same type of frame.

So I am trying to figure out if there is anyway to create an action or a script to help with creating the frames for all of these different size images using frames that where shot. (I plan on first making sure all of the images are the correct size, so that if the artwork is 12"x17" the file would be 12"x17" @ 300dpi. That way I would be able to use one master frame for the vertical and one for the horizontals and I would not have to worrry about adjusting the thickness of the frame for each image.) So I would want to isolate the four corners and place them in the four corners of my images. Then isolate the vertical partions of the frames and stretch them vertically so that they would fit the image height, then isolate the horizontal portions of the frame and stretch them horizontally. Since these are going to be used for the web the strectch of the wood texture should not be noticable. If these where high res I would not stretch them but duplicate portions of the frame. So if this can be done with actions or scrpits my main questions are:

1) How do I get the four corners, which could be four seperate files, into the four corners of my images?

2) How do I get the vertical and horizontal portions, which could be a seperate file, to stretch to match the height and width of my file, minus the size of the corners?

3) If I needed to do these in high res and didn't want to strectch the wooden frame, but build it out by duplicating the vertical and horzontal portions, could that be done with an action?

Thanks,

Steve

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
August 11, 2011

Is there anything ornate in the frame images. Or are they more or less just made with strips of standard framing molding. If nothing fancy just molding  then an action that uses patterns and a little bit of scripting can frame your images orientation does not matter a little scripting handles that.  To scale you images to the proper size will take some scripting and the spread sheet exported to a CSV file containing filename width and height.

My crafting action package contains 12 scripts to be used in actions.  Two of which would be very useful for your project. If you create you script to size the images so they have the correct print size.  The framing of these would be easy.  The action would first run two of my run twice scripts for action.  The first scripts saves the documents current resolution so the action can change it to what it need the document to have for its framing patterns.  The second script will rotate portrait images to landscape orientation.  The action can the add the 1" frame. once the frame is in place the action the runs the two scripts again. The second time these action run they will restore thing. One will rotate the documents it rotated to landscape back to portraits and the other will restore the documents resolution.  My image visualization package has framing actions and a script to make a 1" mitered selection to be filled with the framing pattern.

Image Visualization Package Example

Crafting Actions Package
Contains

  • Action Actions Palette Tips.txt
  • Action Creation Guidelines.txt
  • Action Dealing with Image Size.txt
  • Action Enhanced via Scripted Photoshop Functions.txt
  • CraftedActions.atn Sample Action set includes an example Watermarking action
  • Sample Actions.txt Photoshop CraftedActions set saved as a text file.
  • 12 Scripts for actions
Download

JJMack