Image Processor type Script Request

I would like to get a jsx that acts much like the image processor, with more options. Here is what i need to be able to do to an individual folder containing 500+ jpgs.
I need to:
-open the image
-resize via pixels w/h
-save in a selected folder (new or existing folder, with same filename.jpg)
-Save for Web at 25% size into another folder (new or existing folder, with same filename.jpg)
-Convert to BW (this could be done by desaturate or via an action)
-save in a selected folder (new or existing folder, with same filename.jpg)
-Save for Web at 25% size into another folder (new or existing folder, with same filename.jpg)
-close without saving.
I would really like to be able to have a GUI that allows me to select the source folder as well as select the 4 destination folders. I currently have an action that does this for me, but it requires me opening one of the images to record the 4 destination folders' locations in the action. Which has become too time consuming. Eek.
I am experienced in coding, but i am not experienced in jsx at all. If anyone wants to help me write it, that would be great. If someone wants to write it for me... ;)
Thanks!
alison

Here is a start for you, it will need to be modified with the resize values etc.
Unfortunatley this site does not like dialogs so please download the code from http://www.ps-scripts.com/bb/ in the upload section
Paul.

Similar Messages

  • Help needed to enhance Image Processor Pro Script to save transparency in TIF

    Hi everyone,
    this is my first post in this community.
    We have a droplet which reduces the resolution of tif images to 72dpi and save the tif image with transparency. This works fine, but it took to long for the whole process of many picture in different folders. That's the reason why we searched for another script which can preserve the folder structure and set the resolution of every tif image to 72dpi.
    We found Image Processor Pro, which does exactly what we needed. The script works perfectly in CS5 and CS5.5 as it saves the tif with the transparency. Those saved tif images could be used in InDesign with the transparency.
    BUT Image Processor Pro script works not so perfectly in CS6 as it seems that this option to save a tif with transparency is not implemented or does not work in the script. The result is that those converted tif images are w/o transparency in InDesign. That's a huge problem for us.
    This is the point where I need your help. Neither I have experience yet with jsx-files nor with the right syntax of it.
    Is there a way for anybody of you to implement / enhance Image Processor Pro so it will save tif with transparency?
    We used the latest German Version of Image Processor Pro: 2.3.1 (link: http://www.russellbrown.com/scripts.html)
    (The German version contains only german on screen texts!)
    I am very thankful for every help you can give.
    Thanks in advance for your help.

    Possible causes:
    1) It probably has nothing to do with your image files, but you won't know until someone else tests one of them. You could create a small 50% gray TIFF file with transparency and post it, assuming you know it exhibits the issue with IPP.
    2) At the download link you provided:
    http://www.russellbrown.com/scripts.html
    There are two installers for Image Processor (CS5 and CS6). Did you download and install the CS6 Version Installer?
    3) Another possible solution other than modifying the script is to reset the PS Preferences file. When strange things happen in PS with no explanation this usually fixes them. My PS CS6 was inflating  all new files by 1.4MB. After examining one of the files it turned out PS was inserting a Costco printer profile into every new file. So don't automatically assume your PS image files are not somehow being corrupted and causing loss of transparency in IPP. Creating a new Preferences file resolved my issue:
    http://forums.adobe.com/thread/375776
    You may want to record your old Preferences settings prior to creating a new one, but test it first with the default settings.

  • Image processor [in Script menu] not recognizing PSD files?

    I've been using PS since CS.  I still keep a copy of CS2 on a computer simply for the Script -> Image Processor.  Since CS5, the processor no longer recognizes many files.  These same files will batch process with no problem in CS2.  Anybody figure out why the processor has recognition issues?  Thanks for any help.

    File names are visible using the "select folder" button, directing the script to locate the files to be batched.  When selecting the folder, you will see the files within the folder in the adjacent tab [windows or mac].  CS5 put a limit of 8 [if I remember correctly] characters on the processing script.  Additionally, some symbols which are permissible in other file naming protocols, no longer worked. 
    The experience is wide spread among heavy users of this batch tool.  I have seen many "google" searches on the subject...which is how I identified the naming issue in CS5.  The issue exists with JPG and PSD files; Adobe RGG and, sRGB; each processed from RAW or other JPG/PSD files.  I simply cannot determine why one set of files work, and  another will not, yet all will work on older versions of PS.
    Once again, these same files causing issue, will process without issue on a CS2 version I keep for just such occurrences.  I've been using the batch image processor since CS to apply actions to folders of files.

  • CS5 Image Processor - One script, different image sizes and save locations

    Hello guys!
    is it possible to make one script to convert several images to different image sizes which should be saved in different locations?
    The xml structure is clear, but photoshop accepts only the second "script" if i load a test xml file with two scripts in it.
    Thanks a lot !!!
    Best Regards,
    Tobias

    Hey!
    i solved the problem with an action in which i changed the picture size 4 times (4 times saving for web included)
    its perfect for my needs!
    thanks anyway

  • Image processor script

    Hi everyone,
    I just tried using Photoshop's image processor script to convert a folder of .ai files into .tiff files. When it finished running though, I noticed that the physical file size of each image was really tiny, ie. not the same as the original .ai file. For example I had an A4 sized .ai file and it ended up being only about 2cm in width after being converted to a .tif.
    I'm not sure what I'm doing wrong.
    Any advice appreciated.

    It is a long-ish Script, but at a glance it does not seem to be intended for use on ai-files.
    There are a couple of other Image Processor-style Scripts available, but I’m not sure they make provisions for that case.
    Maybe you should ask over at
    Photoshop Scripting
    or
    http://www.ps-scripts.com/

  • Problem with image processor - photoshop cs6

    Hi there .
    I am trying to automate - image processor. From open files i am just trying to save theese pdf's as jpg's. Should be straight forward but I get this error...
    "There were no source files that could be opened by Photoshop."
    Anyone know why? I saw one google someone suggesting to reset the preferences or someting but I so not know how to do this or if it will help...
    thanks.

    It look like both the Image Processor script and the Image Processor Pro script will not process open document that have no associated backing file.  When you open a PDF file and use options for Photoshop to use opening the PDF the documents that open are new document the source PDF files have been processes into a new documents that have not been saved so the open document has no associated backing file.
    I mad a simple test. Opened a PDF. Tried the two scripts they failed. Then I saved the open document and the ran the Image processor on the still open document that had been saved as a tif.  The image processor worked and saved a jpg.
    It may be possible to write a small script to save open Document as jpeg files and close the open documents or loop around the open document ring and just save document that have no backing file.
    You could also try using Paul Riggott PDF Processor script to do it all....

  • I can't get Dr Browns Image Processor Pro to work from Bridge with Photoshop CC 2014

    We use the wonderful DR Browns Image Processor Pro script a lot, but cannot get it to work from Bridge with PS CC 2014. When I select files in Bridge CC and then go to Tools> Dr Browns Services 2.3.1 > Image Processor Pro it just pops up an error message that says ReferenceError: photoshop is undefined.
    The actual script works fine if I launch it from Photoshop CC 2014 - just not if I load it from Bridge CC.
    I have unistalled it and re installed a few times, both manually and through the Extension Manager CC.
    I am using a Win 7 64bit computer.
    I assume there is some change in the scripting part that loads Photoshop from bridge but not sure. It worked fine in CC. Just not CC 2014.
    I opened the Dr Browns Services .jsx file but don't see anything obvious. This is the section related to the Image Processor Pro part:
      // This routine takes an array of files. If called by Photoshop,
      // it will invoke Dr. Brown's Process 1-2-3 with the files. If called by
      // any other app, it will send a BridgeTalk message to Photoshop
      // to invoke this routine with the same arguments.
    drbrownserv.process123 = function (files) {
    // Bring Photoshop to the foreground.
      BridgeTalk.bringToFront ("photoshop");
      // Create a new BridgeTalk message for Photoshop to invoke
      // Image Processor with the selected files
      var btMessage = new BridgeTalk;
    btMessage.target = "photoshop";
      btMessage.body = "drbrownserv.process123 (" + files.toSource () + ");";
      btMessage.send ();
      } else {
    photoshop.runActionCommand ('611736f0-9c46-11e0-aa82-0800200c9a66', files);
      catch (error) {
      if (error.number != 8007) // Don't report user cancelled errors.
      drbrownserv.alert (error);

    I copied that .jsx file to a new name "Xbytor Image Processor Pro.jsx" edit that file changed the string Dr Browns services to "Xbytor Image Processor Pro" then commented out all the code that added tools menu items but "Image Processor Pro" and I put that file into
    "C:\Program Files (x86)\Common Files\Adobe\Startup Scripts CC\Adobe Bridge" even though Bridge CC is 64Bit seems to use theat location.
    Bridge CC was updated by the creative clouds update and opens Photoshop CC 2014 now

  • Image Processor Pro won't run in PS6 using Window 7 OS.

    Trying to run IPP on a Windows 7 OS in PS6.  I select my images in bridge and run the script IPP. Photoshop pops up and a blank white screen appears and nothing else happens.

    Scripting was an extra down for PS7 and the first version of Photoshop to have scripting support PS6 has no scripting support.  The Image Processor Pro script uses newer scripting features like Plug-in support that was added in CS3 and I think Image Processor Pro needs newer then that like it may only works with CS5, CS6 and CC. I use it with CS6 and CC... I do not usr the installer I extract the zxp file and install manually. There are a couple of minor issues the X is working on Alpha Channels in PSD files and some TGA and BMP support... Adobe has pull Russell Brown off of Photoshop  and X is feed up with Adobe.. Make sure you have the latest version of the script... I use Windows 7 Pro OS...
    CS5/CS6 Script:
    Dr. Brown’s Services 2.3.1
    Dr. Brown’s Services is a collection of time-saving utilities for designers and photographers. Use the new CS6 Extension Manager to install both the Mac and PC versions. If the Extension Manager does not work on your system, use the manual installation process instead. Installation will require that you be in the ADMINISTRATOR mode on a PC.
    This installation includes:
    Image Processor Pro
    Stack-A-Matic
    Place-A-Matic 8-bit
    Place-A-Matic 16-bit
    Trouble Shooting
    Having trouble with any of my scripts? Then be sure and try my "JUST FIX IT" http://www.russellbrown.com/scripts.html#Fix_Itscript that will remove all the damaged preference files. This could to the trick to solve your issues.
    IMAGE PROCESSOR PRO
    STACK-A-MATIC
    PLACE-A-MATIC
    Adobe Photoshop CS6 Installer
    Adobe Photoshop CS5 Installer

  • Image Processor Pro Beta

    Some bug fixes and new features Re: Image Processor Pro v3.0 beta available

    There were some reported minor bugs reported in this  forum  where the Image Processor Pro script would striped Alpha channels when it shouldn't. I made some patches and sent them to X.  He made some changes and sent me a couple of betas that worked well but he stated he wasn't finished with BMP support.  He has now made additional fixes, added some features and has made it available for download.
    Russell Brown been pulled off of Photoshop and Has placed the stuff he had on his site into Open source including X's Image Processor Pro script.   X wrote Image Processor Pro but he feed up with Adobe for not fixing Bugs in Photoshop Scripting. He stated he will support  Image Processor Pro for some tine as well as contact Sheet II.  But that's it he will no longer work with Adobe.
    It a shame Adobe doesn't fix all reported bugs. That drive users like X away.

  • Image Processor and JPEG destination folder

    I wonder if it is possible to change the name of the JPEG destination folder when using Image Processor?
    I organize all my folders with a specific date structure.  Whenever I use Image Processor to create JPEGs, the folder is called JPEG.  Then I have to rename the folder with the date structure.  Is there some way to include the original folder name in the JPEG folder?
    "Save As JPEG
    Saves images in JPEG format within a folder called JPEG in the destination folder."
    Thanks for any ideas.
    Lynnea

    I believe if you download the Image Processor Pro script from Russell Brown's web site and install it.  You will find it installs under menu File>Automate.  It is like the Image Processor but is more powerful. You can save as many different sized jpegs for a image as you need you can name the folder or folders you want them saved in.   You can add, remove and turn ON/OFF the tabs in the center section.

  • Color becomes corrupt when I use Image Processor

    I always use the image processor (file>scripts>image processor) to format my photos after editing. Last night in the middle of batching several sets, the processor starting saving my photos with colors that were really off. I tried closing the program and restarting my computer. No luck. If I open a photo in CS6 photoshop and then save it as a jpeg there is no color corruption. But if I batch photos using the image processor the color is horrible. I don't really want to unistall/reinstall photoshop if I don't have to because then I have to reinstall my plugins. Is there a way to fix this? I have been using CS6 for over a year now and haven't had a problem with image processor before. Although, sometimes when I open a photo in photoshop, the color is off (like in the left photo) and I have to close the program and re-open it. Below is an example of what happens.

    Good day!
    Is there a way to fix this?
    Fix what? You have not given enough information to assess the issue.
    What are the settings you use, do the images have their Color Profile embedded, what are your Color Settings …?
    Regards,
    Pfaffenbichler

  • Dr. Brown's Image Processor Pro

    I've been using Dr. Brown's Image Processor Pro for years now and have never had a problem until now. I just attempted to run the Image Processor pro script and received a "failed creating default FileType tab". Anyone run across this error? I've tried removing the script and reinstalling but the same issue. I even tried Dr. Brown's "Just Fix It" script. The only thing that has changed since I last used the script successfully is that I've added a 3rd monitor to my setup but I really wouldn't expect that to be a problem. Has anyone come across this error when using Dr. Brown's scripts?

    I appreciate your suggestions but after some further investigating, turns out the problem was Photoshop itself. I went to test a batch action in photoshop and found that "batch" under automate was greyed out.
    Oinapea, if you see that your "batch" option is greyed out as well, try deleting your actions palette file. Should be in the same folder JJMack listed above: C:\Users\(insert username)\AppData\Roaming\Adobe\Adobe Photoshop CS5\Adobe Photoshop CS5 Settings
    Delete Actions Palette.psp and reopen PS. Hopefully the "batch" option is now available and Dr. Brown's will run as it should.

  • Help! I am trying to use the scripts image processor in Photoshop CC.

    Help! I am trying to use the scripts>image processor in Photoshop CC. When I click on it it comes up with an error saying that it cannot find the Javascript Plug In. I have the newest version of Java installed. How do I get it to work in Photoshop. Do I have to download a separate plug in? Any help would be greatly appreciated.

    Java is not Javascript.
    Do you have a Mac or PC?
    If PC, do you have this file on your system?
    C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Required\Plug-Ins\Extensions\ScriptingSupport.8li
    If not, you've got a corrupted installation of Photoshop.  Uninstalling and reinstalling may help.
    -Noel

  • Bridge CS6: How do you write a script to assign a shortcut to "Batch" and "Image Processor"?

    Many times a day I need to access "Batch" and "Image Processor" in Bridge.
    There is no shortcut, so I have to go the Tools-Photoshop-Batch and Tools-Photoshop-Image Processor menu - the items I need are locked into a second level menu.
    Which is impractical.
    I remember, when I started out with Photoshop many years ago, I downloaded "Deke Keyes" from Deke McClelland, which included keystrokes for "Batch" and "Image Processor".
    From the Bridge forum I learned that you cannot assign shortcuts in Bridge CS6.
    So the general opinon was that a script was used to assign the shortcuts.
    Could you please tell me how to do that?
    Thanks!
    PS: I tried to assign shortcuts via the Mac OS X Mountain Lion keyboard preferences (applications), but it did not work.

    Hi,
    in the exit:Event of the 1st date field add this FormCalc script:
    DateField2 = Num2Date(Date2Num($.formattedValue, "DD.MM.YYYY") + 21, "DD.MM.YYYY")
    You may have to change th date pattern  "DD.MM.YYYY" in the way you need it.

  • Photoshop CS3, wanting to batch re-size JPGs, going: file-scripts-image processor, the batch images are greyed out can't be highlighted

    Hi - I am trying to batch re-size JPGs in CS3.  I go: file-scripts-image processor and select a batch of JPGs but these are greyed out and can't be highlighted, therefore can't be re-sized. This function worked in the past and suddenly does not. Reading forums on this topic I find I should remove/trash 'Photoshop Preferences'. But I am struggling to find Photoshop Preferences. Really would appreciate simple instructions written for the layman not a computer savvy individual, on how/where to locate these, please. Many thanks.

    A few things to try.
    1)Since jpg's are finiky with bit modes, make sure your mode is in 8-bits per channel only. (found in the image>mode menu)
    2)you could try resetting the preferences by using the 3 modifier keys at startup. ctrl-alt-shift(windows) cmd-opt-shift(mac) Hold these three keys down when you start photoshop if done right when photoshop starts you should get a dialog box asking if you want to reset the preferences)
    3)If these do not help specify the version of photoshop, what OS you have and its version. Then someone can tell you the location of the preference files since it is different on windows vs. a mac.

Maybe you are looking for