Adobe droplet question, involving Place command and filenames

Suppose I have two files called, (a) "background.tif" and (b) "Image001.tif".
Background.tif is a simple black layer, sized to 1500 x 1000 px.  Image001.tif may be cropped to any size.
I want to do the following in a droplet:
    1. Place (File/Place) "Image001.tif" in "background.tif", knowing it'll be centered and resized as needed automatically.
    2. Save the new file for the web as "Image001.jpg",
    3. close both files without saving (I only need the resulting JPG).
My goal - I have several hundred files that all need web-ready JPGs created with a standard size black background, so that they'll fit a web gallery that can only handle a fixed set of dimensions.
Questions:
1. Is this even possible via automation?
2. If so, how do I ensure that the JPG that gets created has the same name as the source image file; i.e. "image001.jpg", and then "image002.jpg", etc.?
3. is there a better way to create the end result, rather than using the place command; i.e. doing this with the original image file instead (thus solving the filenaming question)?
Running PS CS6 on Win7/64.
Many thanks!
Jerry

Hi csuebele,
The only requirement is that the final result is 1500 x 1000 px.  The black is used to fill in the sides/tops as necessary.  Since this is to be automated, I need each new file to have a unique name of course (otherwise succeeding files will overwrite their predecessor).
For example, say I have a file called image001.tif that is cropped to 2400w x 3000h px. I need this to fit a container that's 1500 x 1000 px, with black filling this out.
Manually I would
1. Open a black TIFF that's already 1500x1000.
2. Place the 2400x3000 px image in the black tiff.
3.  PS then resizes and centers the image to fit, while preserving the aspect ratio. 
4. Thus the image is now sized to be 800w x 1000h px , with black filling the sides equally; i.e. 750 px of black on either side.
5. I then save that "new" version of the black file for the web, and then close w/o saving.
6. End result is a 1500x1000 file called image001.JPG.
Please see attached for 2 examples:
Example of a portrait image:
Example of a landscape image:

Similar Messages

  • Place command and profile mismatches

    I'm curious why the Place command in Photoshop doesn't warn me about profile mismatches.
    For instance, if I have an sRGB document and Place a CMYK file, there is no warning - regardless of my settings in Edit > Color Settings.
    Does anyone know how this is handled?

    Hi csuebele,
    The only requirement is that the final result is 1500 x 1000 px.  The black is used to fill in the sides/tops as necessary.  Since this is to be automated, I need each new file to have a unique name of course (otherwise succeeding files will overwrite their predecessor).
    For example, say I have a file called image001.tif that is cropped to 2400w x 3000h px. I need this to fit a container that's 1500 x 1000 px, with black filling this out.
    Manually I would
    1. Open a black TIFF that's already 1500x1000.
    2. Place the 2400x3000 px image in the black tiff.
    3.  PS then resizes and centers the image to fit, while preserving the aspect ratio. 
    4. Thus the image is now sized to be 800w x 1000h px , with black filling the sides equally; i.e. 750 px of black on either side.
    5. I then save that "new" version of the black file for the web, and then close w/o saving.
    6. End result is a 1500x1000 file called image001.JPG.
    Please see attached for 2 examples:
    Example of a portrait image:
    Example of a landscape image:

  • Simple question involving data signing and encryption

    What is exactly mean by signing and encrypting data?
    And how would it apply to the case of a web browser..where I have to sign and encrypt data to and from a web browser? In this case it is an output and input stream.
    Does every byte have to be signed or just the starting bytes? Singing every byte would make the process slow and inefficient

    I know if you you sign and encrypt the data to the
    web browser, it will obviously not be recognized but
    this is my scenario:Your ASCII art didn't come across at all, I'm afraid - I'm not sure what you were going for, but I can't seem to recreate it. I think I can follow the explanation, though.
    P is the program i am developing. It is supposed to
    encrypt and sign data to and from the web browser.
    P1 get the web browser request, encrypts the data
    a and is supposed to sign the data...send it
    to P2 which decrypts and verifies the signing which
    then forwards it to the proxy or the server as seen.
    Vice versa from the server response.So you're working on a web-proxy that encrypts it's transmissions, and you want to add signature verification as well.
    My question still remains...how do you sign a stream?I answered your question, actually. You don't sign "streams" - you sign "messages". In your case, you sign the entire transmission, and then you transmit it.
    Right now I am using RSA keys to send a symmetric key
    across safely for the decryption etc I have the
    encryption/decryption process covered and the browser
    works..but i didn't do signing of any sort...how to
    implement this..for every byte? Is signing necessary?Given your requirements, I have to ask - why are you re-creating SSL? If you have P1 and P2 talk SSL to each other, you get everything you've described here, including signing. I don't understand why you feel the need to recreate an existing protocol.
    Grant

  • Place image and centre javascript??

    Hello,
    I'm trying to create a script (Javascript) which automatically creates a document to a pre specified size (specified within the script), places a file (usually .PDF) centrally on the document page, adds crops, saves and exports.
    I've got everything sorted except the place file and centre part - and to be honest after looking through the forums I'm none the wiser. Can you offer some advice please?
    The file which is placed will change each time (as will its location), so I was hoping that i could use the standard place command and use the window which comes up normally...although i've horrible feeling I might have to create something - hopefully not!....I realise this is very simple for most of you, but I'm struggling!
    Thanks in advance for any help!
    (on a side note, would a script made from applescript enable me to select the file to be placed in InDesign, and run everything in one click, opening InDesign etc? just wondering...)

    Use the Folder.selectDialog () function to display the OS dialog in which you pick a file. See the JavaScript Tools Guide (in ESTK's Help menu), page 57.
    As to your sidenote, you can't have JavaScript start InDesign. AppleScript probably can.
    Peter

  • How to:  using the Place command in an action and remembering the source filename...

    I have a large set of product, architecture, and other subject-specific photos, that I’m preparing for a new website; all to be placed in various galleries.
    For each photo, I want it to have the same background.  If I were doing this manually, I would simply “place” the subject photo into the background, and save it – back to the original photo name.
    In other words, doing this manually, PRODUCT_001.TIF gets placed into STANDARD_BKGRND.TIF, (thereby automatically correctly sizing and centering it), and then saving the result back to PRODUCT_001.TIF; either overwriting the original, or into a new folder.   (I have the original file somewhere else, and am working with an intermediate copy).
    But since I have several hundred photos, how do I create an action (and really – a droplet) that will save the resulting file to the desired name?  Typically placing photo ‘PRODUCT_001’ into photo ‘B’, alters photo ‘STANDARD_BKGRND’, so I can’t save the result back to ‘PRODUCT_001’.  Said differently, in a droplet, each time it's run saves the result back to the same filename 'STANDARD_BKGRND'.
    The end result – I want to apply that droplet to all the PRODUCT_***.TIF files in a given folder, and end up with the same file names as before.
    Thanks in advance for your help!
    Jerry
    PS - I have no scripting experience in PS, but have written code in other applications/scenarios. 

    Actions don't have access to the document name (where the file name is).  Scripts do, however.
    If your products are sequentially numbered, you're in luck.  You can overide the "Save as command" and make sure that your naming uses a sequence which you can set to the same starting number as your product. Here is an example of how to configure File -> Automate -> Batch (assume the set and action are your hand built one)
    Instead of "Document name" you'd type "PRODUCT_" per your example and choose a 3 digit Serial number.
    The "Starting Serial #" is where you can change if your products are numbered say, 101 and up.

  • Hi I installed a new hard drive in my Mac mini osx lion an when I turn it on I get a flashing file with a question mark. I tried holding command and R keys when turning it on but the recovery fails to work. Does any one know how I can get it to recover?

    Hi I installed a new hard drive in my Mac mini osx lion an when I turn it on I get a flashing file with a question mark. I tried holding command and R keys when turning it on but the recovery fails to work. I can hold the option key at start up and choose my network, then Internet recovery shows up with an arrow pointing up. When I click on the arrow Internet recovery fails and all I get is a globe with a triangle on it with an exclamation mark on it, and under that it says
    apple.com/support
          -6002F
    Does any one know how I can fix this without a recovery disc? Thanks

    I just want to add to this, in case someone else searches for this error on Apple Support (google doesnt cover apple support.. how clever is that?)
    I had the same error. And i had a Computer that had worked, with a SSD drive and 16GB upgrade done by the owner himself.
    I tried swapping with a Mechinal Harddrive, no luck.
    Kept the Mechanical drive in, and tried with some other Ram, it worked..
    So for me this error and after reading the other responses can be boiled down to a Harddrive problem or Ram issue.
    It was Ram for me..

  • Get the absolute path and filename of the file from the command line

    Hi,
    when we run the class we give the command
    java <filename>
    How can I capture the filename given above and get its absolute path inside the
    public static void main(String [] args){}
    args[0] gives me the command line argument after the filename. How do I capture the filename itself from the command line argument and also get that files absolute path
    Thanks

    I don't know of any way to capture the java command input, but there are ways to find out where the application is being run from. (the "absolute path")
    http://forum.java.sun.com/thread.jsp?forum=31&thread=335394

  • Question regarding the "mcxquery" and "dscl -mcxread" commands:

    Question regarding the mcxquery and dscl -mcxread commands:
    Does anyone know why the mcxquery and the dscl . -mcxread commands don't show any info about MCX managed login items & printers? The System Profiler's "Managed Client" section does. Id like to see info regarding managed printers and managed login items using the mcx tools. I have Mac users running 10.5.2 with both login items and printers that are pushed out to them via MCX. The System Profiler app shows all of their policies, but the dscl . -mcxread and mcxquery tools dont. Why not?
    -D
    Message was edited by: Daniel Stranathan
    null

    How do you "call procedures/functions" without sql code? You need at least the call statement like
    {call myProc(?,?,?)}that you wrap into a CallableStatement.
    Other than that: when you switch off autocommit, you need to call commit/rollback at the end. Usually, if you don't commit/rollback a non-autocommitted connection, the transaction get's committed/rollbacked when you close the connection - that depends on the JDBC driver. But it's never a good idea to ommit the commit/rollback calls on a non-autocommit connection. Usually you enclose your code in a try/catch block like this:
    con.setAutocommit(false);
    try {
       con.commit();
    } catch (Exception e) {
       con.rollback();
    } finally {
        con.setAutocommit(true); //or:
        con.close();
    }

  • Hello, I have CS3 and the "place" command in Illy will no longer place PS files.  Can anyone help?

    Hello, I have CS3 and the "place" command in Illy will no longer place PS files.  Can anyone help?

    Nobody can know. You have not provided any system info or other technical details like what your PSD files actually contain, their color modes and a ton of other things. Either way, ask in the AI forum and provide the necessary info.
    Mylenium

  • I'm involved in fashion and would like to know which Adobe program would be suitable for importing images and my company logo to design fabric and send as image to fabric printers? Thanks

    I'm involved in fashion and would like to know which Adobe program would be suitable for importing images and my company logo to design fabric and send as image to fabric printers? Thanks

    Adobe Illustrator.  Your company logo should be a vector file.  Image files can be "Placed" in Illustrator.  Artwork created for printing can be drawn in Illustrator and saved as .ai, .eps, and .pdf files which can be imported into your printer's RIP.  But, check with your print vendors and see what they require.  This does not rule-out Photoshop, however Photoshop can be limited.  So, it would be a good idea to have Photoshop and Illustrator loaded in your workstation with Illustrator being the go-to application.

  • Hello . I come from Polish . I bought a package here Adobe Production Premium CS6 for students, and my question is how now the procedure of registration.

    Hello . I come from Polish . I bought a package here Adobe Production Premium CS6 for students, and my question is how now the procedure of registration.

    http://www.adobe.com/education/students/student-eligibility-guide.edu.html
    ID Proof http://www.adobe.com/store/au_edu/academic_id.html

  • Illustrator CC 2014 open and place commands not working after installing Yosemite

    How can I get Illustrator Open and Place commands to work after installing Yosemite?

    Hello,
    I also have the same problem, after 5 minutes I can't open or place anything in illustrator. I have this problem also in photoshop cc 2014. This started after installing Yosemite.
    Tried to reinstall but nothing helps.
    Today after updating creative cloud application it is even worse: illustrator is not opening anything: not even a new file. So I reinstalled... and I can open again for 5 minutes. But then it crashed while saving. Now I can't open illustrator at all...so nothing left to do then reinstalling again I suppose?

  • Simple question I have Adobe Creative Suite in my office and I want to be able to use it on another PC in the same room  Is this possible?

    Simple question
    I have Adobe Creative Suite in my office and I want to be able to use it on another PC in the same room
    Is this possible? – more than happy to only use one PC at a time as I am now using a colleagues PC
    I would need a password
    I have my original End User Purchase Order

    Adobe ID, sign in, and account help
    If that doesn't work, try Web Chat:
    Adobe ID and registration support

  • HT5787 I forgot to answer the secret question camels Store account and you follow the steps in the site account settings but I have not got any mail explains what are the steps involved

    I forgot to answer the secret question camels Store account and you follow the steps in the site account settings but I have not got any mail explains what are the steps involved

    Call your contry's number from http://support.apple.com/kb/HE57 and ask to speak with Account Security.

  • Bridge place command no longer works for indesign 2014

    Bridge place command no longer works for indesign 2014. It only gives Photoshop as an option. How can I get all other Adobe programs listed under Place ?

    Your post sounds like an InDesign question. 
    Due to the current unavailability of clairvoyants and mind-readers in the forum, we respectfully request you supply sensible, complete details.
    A lot more information about your hardware and software is needed.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CC", but something like CC2014.v.2.2) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    a screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

Maybe you are looking for

  • How do I open a .txt document in iCloud?

    On my Mac, I saved a document using TextEdit.  It saved to iCloud.  How do I get to it to open it in Pages?

  • How to create a custom empty package into a project ?

    Hi all! I'm trying to create new package structures into project but I can't do it. I can't found this option. Also, I'd like to be able to create a folder in the project (eg: /lib) in order to add some custom files like images and other jar files. O

  • Is it possible to edit a google site using dreamweaver

    I'm using google sites for some of my low price costumers, and i was wondering what options exsist to use dreamveaver to update some of the gadgets like the text gadget. I know google does not support connecting fully with deamweaver or any other edi

  • Cannot drag and drop in Safari Maverick

    I'm trying to rearrange a few of my bookmarks alphabetically but can't seem to drag and drop anymore?  I am in the 'edit bookmarks' view. Never mind.  I seem to be having trouble with my Logitech mouse. Message was edited by: GWags10

  • How to write a store procedure under SQL Server 2008

    Hi Folks, Kindly help me step by step how to create a simple store procedure with help of sql server 2008 r2 for Crystal report. I know how to work by using Universe but not SQL Server. Kindly help me how to hard code by using sql. Thanks in adv. Red