Can you record with inches in a layer size transformation?

Posted on 2008-11-08
Medium Priority
Last Modified: 2012-05-05
I am trying to automate a certain layout template with the action pallete.  I have 3 layers, each has to be a certain size.  For example layer one has to be 1.5 inches wide with proprtional lock on.  When I record and preform the tranformation to the layer in inches, the action pallete converts it to a percentage.  This will not work becasue I am not always starting with the same size layer.  Is there a way to record the size in inches no matter what my layer starts with?
Question by:bdgbrick
LVL 26

Expert Comment

by:David Brugge
ID: 22917315
This one stumps me and it will be interesting to see if someone comes forward with a solution.

Because you are not actually  transforming the size of the layer, you are transforming the size of an object (or more correctly a group of pixels) on the layer, the question becomes:

How do I transform an object to a set size?

I've never been called to do this in an action. I have only had to do it manually where of course it is pretty easy.

Off hand, you may have to write a javascript to do this, but I'll wait to see what others say.

- David B

Accepted Solution

padeshahoo earned 750 total points
ID: 22919637
maybe u can creat a set of actions , something like this:
* but this will work only if u have specific layer names
1-choose the first layer u want to resize
2-press Ctrl+A ( to choose all the pixels inside that layer)
3-press Ctrl+C( to copy them to clipboard) and delete the layer
4-go to File--> New and just click ok ( this will give u a new document with size of the image in clipboard)
5-Ctrl+V to paste the image of your first layer
6-Ctrl+A and Ctrl+C again
7-close the document without saving
8-paste your image in the base doc
9-choose your next layer
... do this for all layers
it has another problem, when u paste the images it pastes them right in the center, I dont know if thats where u want them
please tell me if that works for u

Author Closing Comment

ID: 31514796
I used your sugjestion and came up with a plan similar to what you described thank you.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When sharing photos, especially via e-mail, the large resolution images that most cameras take today make for extremely large file sizes. The time required to upload these files to forums, send in e-mails, post to blogs or even placi…
The Summer 2017 Scholarship Winners have been announced!
In this tutorial viewers will learn how to correct colors in Photoshop using the Hue and Saturation adjustment Open a photo for editing in Photoshop: Begin by creating a new adjustment layer by going to Layer > New Adjustment Layer > Hue and Saturat…
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
Suggested Courses
Course of the Month16 days, 16 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question