Views
523
Replies
1
Status
Closed
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.
—
With kindest regards, I remain your most loyal and humble servant… The Most Reverend Doktor Dot
For the benefit of all, please post to the newsgroup first.
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.
—
With kindest regards, I remain your most loyal and humble servant… The Most Reverend Doktor Dot
For the benefit of all, please post to the newsgroup first.
Must-have mockup pack for every graphic designer 🔥🔥🔥
Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.