Can you record with inches in a layer size transformation?

Posted on 2008-11-08
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
    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
    LVL 1

    Accepted Solution

    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

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

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    can you batch process psd files into jpg? 2 72
    PHotoshop "clone"? 13 117
    Change background with Photoshop 3 48
    Windows 10 Upgrade 7 63
    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…
    In this article, I'll explain how to change the color of a selection in Photoshop. I'm sure there are a couple different ways to do this in photoshop, but this is my preferred method in Photoshop. I am using Photoshop CS6 and I will be adjusting the…
    In this tutorial viewers will learn how to correct colors in Photoshop using the Color Balance adjustment Open a photo for editing in Photoshop: Open a photo for editing in Photoshop: Select "OK" on the dialogue: The Color Balance adjustment works b…
    In this Micro Tutorial viewers will learn how to remove an unwanted object using Photoshop’s feature known as content-aware fill.

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now