Save as png in different size and file name suffix.

Maybe someone can help me on this Photoshop script. I am working on a psd file with few layers in Photoshop CS6. I would like to save it to the png format.
Below is my workflow.
1) Drag and drop 01.psd into Photoshop from A folder.
2) Save 01.psd to 01.png into the A folder with different sizes and suffixes as shown below:
    - name: 01-xhires.png, size: 180x180
    - name: 01-hires.png, size: 90x90
    - name: 01.png, size: 45x45
3) With png options: (I have no idea of some options below, but at least you know what I am lookng for. )
    - Compression: Smallest/Slow
    - Interlace: None
    - Transparency: True
    - Blur: 0:0
    - includeProfile = false
    - optimized = true
    - quality = 100
    - PNG8 = false
4) Use lower case extension.
5) Other options should be in default setting.
The script should be able to:
1) Overwrite the png files whenever the psd file has been updated and saved multiple times without prompting.
2) Save the png files into the same folder as the source file without creating any subfolder.
3) Not close the psd file, but still keeping it opens in the Photoshop without any changes.
Please help, thank you very much.

Goto Russell Browns web site download the Image Processor Pro script install it and use it to do what you want. However  the script will not overwrite files.   Overwriting file in an automated process is dangerous you could easily wipe out all you image if you make a mistake.  If you want to replace files create the new files in a new temp location then when you see the files are what you want. Move(cut) the files to the location you want replacing any files with the same name.
Menu File>Automate>Image Processor Pro...
source folder you psd files or open document which should stay open.  If you want the script to overwrite the output files you need to edit the script and remove the code that generate new name when output files exists. You may also need to change some save options.  I  would think you would want the profile you convert the image into stored in the png file,  Most of the otions you want can be set like same location no subfolders, 16bit  not interlace etc.

Similar Messages

  • Check image details like resolution, dimensions, color mode, file format, file size and file name

    I have 1000 images in a folder, i want to check their details like resolution, dimensions, color mode, file format, file size and file name into excel with nice user interface.
    Pls help me, m just learning ABCD in VB.

    The code in the file at the link below might give you a starting point. Firstly it gives you the opportunity to list all of the properties of a file type and then you can select the properties that you want and the second utility gives you the
    opportunity to list the selected properties for all files in a selected folder.
    Download and extract the file and open the file in Excel.
    Click the first button List Meta Data for One File (Run first)
    Navigate to and Select any ONE individual photo file. (Photo files because that is what you indicated you are working with.)
    You will be presented with a list of the available properties for the file. Where the Item value is blank, that property is not recorded for the particular file. Different file types have different properties and it is also dependent on how the file
    was created but generally if all of the files come from the same source then the same properties are recorded for all files from that source.
    Now insert a Y in column D for all of the required properties. (Don't select any with the Item value blank)
    Click the second button List Selected Meta Data for all Files in a Folder (Run after selecting the required properties).
    Next select a folder where the files reside. (You might need to back up to the folder if dialog is blank because it will not show individual files because the code only allows Folders.)
    You will be presented with a report listing all of the selected properties for all of the files in the selected folder.
    The user interface is not that great but you can improve on that if you want to with a Userform as you get to know VBA a little better.
    Download the file from here.
    https://onedrive.live.com/redir?resid=C2A7A5912D3D17B0!273&authkey=!ANf8R0Xf0-h3wJ8&ithint=file%2czip
    Regards, OssieMac

  • Save As Script with predefined path and file name

    Hello,
    Livecycle version: 8.2.1.4029.1.523496
    The aim of the script I have is to save the livecycle form to a predefined directory and using the values of a text field in the file name.
    The script is placed in an exit event on a field using javascript as follows:
    this.saveAs("/c/forms/Template/Leave Application "  + Applicants_Name.rawValue".pdf");
    The script does not work.
    Can any one please provide some assistance with correcting my script?
    Any help will be most appreciated.

    This solution is misleading....
    Of course this works only if you plan to load Trusted script on each machine you plan to use that form. In other words you can not rollout form to entire organization with out loading trusted function in each targeted machine.
    Also there are other limitations... like if for some reason user reinstalls Acrobat x or Reader x or upgrade to latest version they need to remember to redeploy the trusted function to the required location.

  • The ipad won't sync some photos, saying the file can't be read by the ipad, however it will sync some photos taken at the same time which are the same size and file type.  Why does it reject some and accept others?

    The ipad won't sync some photos, saying the file can't be read by the ipad, however it will sync some photos taken at the same time which are the same size and file type.  Why does it reject some and accept others?

    Hi there. I'm having the same problem: my iPad won't import some photos from a folder, saying that they can't be read. They are all JPEGS and some photos taken at the same time have synched fine, but out of a folder with 200 photos, it only lets me synch 37. I'm synching albums created via Photoshop Elements 6, which has worked fine until now.
    I've tried deleting all photos and re-synching, and have also deleted the iPod Photo Cache, but it hasn't made a difference.
    The iPad auto-updated to the latest version of iTunes, so maybe that's what's causing it?
    Any advice gratefully received!

  • Font issue - in all my replies, sent and forwarders the font is different size and style.

    font issue - in all my replies, sent and forwarders the font is different size and style. Sometimes it changes while I am typing in mid sentence. I tried to adjust using tools, options, advanced. But nothing seems to stick. How can I make all emails have same font style and size?

    I do not know how up to date this is, but there are menus listed in how the message displays when you compose and open an email. [http://kb.mozillazine.org/Font_settings_in_Thunderbird#Message_display] That may help you set the preferences.

  • Max length of VI file paths and file names

    Hi,
    Is there a maximum allowed length of VI file paths and file names in LabVIEW? I'm running LV 6.0.2i on NT and is trying to save a VI inside a LLB and LabVIEW crashes each time. I have also tried to copy the VI from the LLB to a temp folder with the Librarian VI, but LabVIEW crashes as well. The total length of the file path is around 260 characters and I strongly suspect the file path length in combination with LLB because when I use a shorter path the problem disappear. If I use a long path without LLB (just regular VIs) a warning appear "Invalid file name" instead of LabVIEW crashing.
    Does anybody know the solution to this problem or must I use shorter filepaths? Perhaps it depends on which platform I am running
    LV on?
    Sincerely,
    Mattias Ericsson

    "Mattias Ericsson" wrote in message
    news:[email protected]..
    > Hi,
    >
    > Is there a maximum allowed length of VI file paths and file names in
    > LabVIEW? I'm running LV 6.0.2i on NT and is trying to save a VI inside
    > a LLB and LabVIEW crashes each time. I have also tried to copy the VI
    > from the LLB to a temp folder with the Librarian VI, but LabVIEW
    > crashes as well. The total length of the file path is around 260
    > characters and I strongly suspect the file path length in combination
    > with LLB because when I use a shorter path the problem disappear. If I
    > use a long path without LLB (just regular VIs) a warning appear
    > "Invalid file name" instead of LabVIEW crashing.
    >
    > Does anybody know the solution to
    this problem or must I use shorter
    > filepaths? Perhaps it depends on which platform I am running LV on?
    I believe windows has a 255 character pathname (file+path) limit. We once
    had that problem because we had a long filename and a longer pathname.
    Moved the directory up a couple levels and problem solved.

  • Cannot save the Untitled.indd under a new file name.

    hi,
       i am using window.i got this message while save a document,Cannot save the Untitled.indd under a new file name.
    my code is,
    IDocument *docFrom = Utils<ILayoutUIUtils>()->GetFrontDocument();
    UIDRef docRef = GetUIDRef(docFrom);
    InterfacePtr<IDocumentUtils> docUtils((IDocumentUtils*)GetExecutionContextSession()->QueryInterface(IID_IDOCUMENTUTILS ));
    InterfacePtr<IDocFileHandler> handler(docUtils->QueryDocFileHandler(docRef));
    IDFile destFile;
    PMString path("E:/desktop/auquery.indd");
    FileUtils::PMStringToIDFile(path,destFile);
    handler->SaveAs(docRef,&destFile,kFullUI);
    ErrorCode result = ErrorUtils::PMGetGlobalErrorCode();
    pls help,
    thanks,
    screen410099

    Hi JADarnell,
                 desktop is a folder which i created in e: drive.And I found problem so pls give me a solution.
       Problem is i save a file without any changes its save but if i made any change in a document it doesn't save and one more information
      the  saveas method working in ActionComponent.cpp file in a project only.
    thanks,
    screen410099

  • Path and file name problem when I want to download files from html

    Hi all,
    I want to write a small program to allow users download files from jsp file
    but the following files don't work .
    <%@ page language="java" import="java.net.*,java.io.*"%>
    <%@ page import ="java.util.*"%>
    <%
    try
    String SContent = request.getParameter("click");
    String SDocName = "temp.doc"; //  out put file File Name
    ServletOutputStream stream= response.getOutputStream(); // Getting ServletOutputStream
    response.setContentType("application/msword"); // Setting content type
    response.setHeader("Content-disposition","attachment;filename=\"" +SDocName+"\""); // To pop dialog box
    BufferedInputStream in = new BufferedInputStream(new FileInputStream(SContent));
    int c;
    while ((c = in.read()) != -1){
               stream.write(c);
    in.close();
    stream.flush();
    catch(final IOException e)
    System.out.println ( "IOException." );
    catch(Exception e1)
    System.out.println ( "Exception." );
    %>I am so confuse, what is the path and file name I sould give ? for example my click should equal to http://******/Test/display.jsp?click=00-1

    Hi all,
    I got error at
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
         org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
    if I want ot download file from html file.
    String SContent = request.getParameter("click");
    if I hard code like follow it work fine.
    String SContent ="C:/Project Coding.doc";
    what mistake I make.
    Thank you!

  • Get path and file name from Bfile

    Hi,
    I'm using Bfile to store images in a database. Is there a way to get the path and file name of the image from Bfile, because I need to pass that information into an image processing function.
    Many thanks.
    Sheldon

    Can you use FILEISOPEN in the DBMS_LOB package?
    See http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96591/adl03prg.htm#281893
    -- CJ

  • Definnig logical path and file names

    hallow experts,
    i wont to now about definnig logical path and file names,
    did some one have something that can help me in that
    regards

    Hi Rodrigo,
    Have a look at this link... i guess it explains what you are looking for...
    http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm
    regards,
    Naveen

  • Path and file name

    I am running Illustrator CS4 on Windows XP.
    I have obtained a script that inserts the file name in the bottom left of the page
    // CODE BEGIN
    var pointTextRef = app.activeDocument.textFrames.add();
    pointTextRef.contents = app.activeDocument.name;
    pointTextRef.top = 20;
    pointTextRef.left = 10;
    // CODE END
    What I would like is that it inserts the path name as well ie
    "c:\temp\file.ai"
    rather than just the file name "file.ai"
    Is there anyone out there who can help me.
    Thank You

    Hi Mark,
    Thank you for this script.
    It works fine, just as I wanted.
    Much appreciated.
    Cheers
    Eddie Frankel
    Technical Officer
    Department of Primary Industries
    55 Collins Street
    Melbourne
    GPO Box 4440
    Melbourne
    Vic. 3001
    Phone: 03 9 658 4539
    Fax: 03 9 658 4555
    Email: [email protected]
    This e-mail and any attachments may contain information that is
    confidential, legally
    privileged and/or copyright. If you are not the intended recipient, any
    use, disclosure
    distribution or reliance on the information contained in this e-mail is
    unauthorised.
    You should only re-transmit or distribute the information if you are
    authorised to do so.
    If you have received this e-mail in error please notify the Department of
    Primary Industries
    by return e-mail and destroy all copies printed or held on any computer.
    DPI does not warranty that this e-mail and any attachments are free of
    viruses.
    Muppet Mark <[email protected]>
    02/10/2009 09:25 PM
    Please respond to
    [email protected]
    To
    eddie frankel <[email protected]>
    cc
    Subject
    path and file name
    I think you want is 'fullName'
    var docRef = app.activeDocument
    var pointTextRef = docRef.textFrames.add();
    pointTextRef.contents = docRef.name + '  ' + docRef.fullName;
    pointTextRef.top = 20;
    pointTextRef.left = 10;

  • Path and File name of the attachment

    Hello Srm Guys,
    Where should be the Path and File name of the attachment are stored for a shopping card Item.
    Thanks
    Ram

    Hello Ram,
    Execute the function module BBP_PROCDOC_ITEM_GETDETAIL by providing the item guid,object type . Now it will populate the  et_attach importing parameter with the attatchement details.
    In the ET_ATTATCH internal table , the field PHIO_FNAME/PHIO_PATH_FILE provides the physical storage location of the document.
    Hope this info will be helpful.
    Regards,
    Mani

  • How to show rating dots and file name underneath thumbnail in Bridge CS4 preview workspace?

    How to show rating dots and file name underneath thumbnail in Bridge CS4 preview workspace?

    Thank you! That was it. The option to change it is not available in preferences (though I believe it was in early CS versions). It's hidden in a dropdown menu associated with an icon at the top. It sure wasn't easy to find, and I probably would not have done so without your lead. Thanks again!

  • Need script to add path and file name to fillable  form

    I have a fillable pdf form that I would like to have a script that adds the path and file name to the form. This script would be in a field at the end of the document.
    I am a newbie to javascript and formcalc. The script will be the only one in the form.
    Thanks for any assistance.
    Lisa

    Hi,
    I have a sample that attach a file to the PDF and write in a text field the file name. I don´t know how to get the full path and it only works in Acrobat. To work in Adobe Reader is necessary the LC Reader Extensions to give some special permissions to the document. But, regard this, you still want the sample send me a email to [email protected]
    Best Regards,

  • [Intel] Mixing different size and brands of memory. MSI 6507 Motherboard.

    Hello,
    Does anyone know if it is ok to mix, firstly different size ram and secondly - different brands. I am currently using a 1x PC2100 512mb stick and 1x PC2100 256mb stick (Different Brands) and have never had any problems. However I am looking to replace the 256 stick with either another 512 or 1g, when searching on the net most of the advice is not to mix brands and always use pairs rather than different size sticks?
    I have a MSI 6507 MB
    Thanks

    Hi
    Using matched pairs is still the best way to go with memory but that doesn't mean that having different brands won't work.  It is a crap shoot when mixing different sticks of memory.  Sometimes it works fine but most of the time it causes problems.

Maybe you are looking for