Automatic image post-processing in PS7.x

Discussion in 'Photoshop' started by TMRDD, Jun 26, 2003.

  1. TMRDD

    TMRDD Guest

    Hi, as the subject implies... I'd like to try and do the following with a relatively large number of images (and, of course, repeat when necessary):

    1. Load image/start script based on loaded image;

    2. Based on image width and height, produce a new canvas size that is 20 px larger in width, per side, 20 px higher on the top side and 60 px longer on the bottom side (a weighted matting, so to speak);

    3. Select the entire image;

    4. Copy image;

    5. Paste into a new image (i.e. File > New > Paste) that is itself 40 px larger again that the pasted image size;

    6. Drop a shadow, with very specific parameters;

    7. Flatten;

    8. Save.

    Steps 1, 3, 4, 6, 7 and 8 are easy; even I can do them. Steps 2 and 5 are the real problem since they would have to somehow automatically determine the image's height and width and perform the necessary calculations to resolve the overall image size. And the originals, of course, are as varied in size as they are varied in subject matter (a.k.a. a lot). I cannot find such functionality in the default PS toolkit, unless, of course, I am missing something.

    Your thoughts and suggestions would be appreciated.
     
    TMRDD, Jun 26, 2003
    #1
    1. Advertisements

  2. TMRDD

    Mouse Guest

    Actually, it's not as complicated as you think.

    Step 2:

    Record yourself going into the Image menu > Canvas Size. In the Canvas size
    dialog box, turn on the "Relative" check box. Set the drop-down boxes of
    both Width and Height to pixels, and the anchoring position to the top
    centre. Type 40 into the Width box and 60 into the Height box. This adds 20
    pixels to each side, and 60 to the bottom.
    Go back into Image > Canvas size, and, making sure "Relative" is still
    turned on, set the anchoring position to bottom centre, set the Height
    drop-down box to pixels, and type 20 in the Height box. This'll add 20
    pixels to the top of the image.


    Step 5:

    Instead of copying and pasting, you could simply record yourself going Image
    in Step 2.

    Hope this helps.


    Hi, as the subject implies... I'd like to try and do the following with a
    relatively large number of images (and, of course, repeat when necessary):

    1. Load image/start script based on loaded image;

    2. Based on image width and height, produce a new canvas size that is 20 px
    larger in width, per side, 20 px higher on the top side and 60 px longer on
    the bottom side (a weighted matting, so to speak);

    3. Select the entire image;

    4. Copy image;

    5. Paste into a new image (i.e. File > New > Paste) that is itself 40 px
    larger again that the pasted image size;

    6. Drop a shadow, with very specific parameters;

    7. Flatten;

    8. Save.

    Steps 1, 3, 4, 6, 7 and 8 are easy; even I can do them. Steps 2 and 5 are
    the real problem since they would have to somehow automatically determine
    the image's height and width and perform the necessary calculations to
    resolve the overall image size. And the originals, of course, are as varied
    in size as they are varied in subject matter (a.k.a. a lot). I cannot find
    such functionality in the default PS toolkit, unless, of course, I am
    missing something.

    Your thoughts and suggestions would be appreciated.
     
    Mouse, Jun 26, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.