getting targetsize one doc to another

NC
Posted By
Nick_Cow
Oct 28, 2008
Views
292
Replies
4
Status
Closed
Hi,

I need to automatically rezize a photoshop document by using an action. Sounds pretty simple, yes. But the thing is that the flow needs to grab the individual/specific size from ANOTHER open document (different from time to time) to be used as the target size…. I need to make the grab the target size from a variable, so to speak.

I’ve tried to use the crop-tool to grab size and then use select all + crop on the other document, but no. Plus loads of workarounds.

It has to be a full auto function to be run from a droplet.

This is what it will be used for:

A faksimil scan from a newspaper page needs to get a broken side like it had been ripped out by hand. A shadow on the ripped edge as usual. Easy to do by hand. But the action flow will use a "template"document holding a pre-made layermask built with the right edgelook. The Action will rezize this to fit the original faksimil dokument and apply the ripped edge+ shadow on the faksimil document in one go. By loading the selection from the layermask over to the faksimil.

Anyone with the right kind of brain for this? My own seems to be out of question this time.

Thanks,

Nick

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

M
Mylenium
Oct 28, 2008
Certainly something for a script, so I’d ask in the respective forum.

Mylenium
NC
Nick_Cow
Oct 29, 2008
Ok, thanks. I’ll do that.

N
DM
Don_McCahill
Oct 29, 2008
If you solve your problem, come back and tell us how it went. I can’t see how scripting can take data from one image and put it into another, but Photoshop has been amazing me for years by doing stuff it shouldn’t be able to do.
NC
Nick_Cow
Oct 31, 2008
Don,

the problem is solved. Jump into the "codedepartment" and go get it. ( In short; the scripting is only resizing a second document to the same size as the original. This makes it possible to load a selection based on an Alpha which is resting in that second document. The action takes care of that and the rest).

Thanks for pointing my in the right direction, Mylenium.

Nick

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections