January 14, 2010

Batch-creating PNGs or CMYK JPEGs from Photoshop

If you’ve ever wishes that Photoshop’s Image Processor script offered the ability to create PNG and/or CMYK JPEG files, you’re in luck: scripter Mike Hale has modified the script to add these options. Thanks, Mike. [Via Jeff Tranberry]
For what it’s worth, we’re trying to implement more features via scripting for exactly this reason: if you want something to work differently, you don’t have to wait on Adobe to change it. Instead, if you’re willing to learn a little JavaScript (or bribe someone who knows it), you can get what you want more quickly.

Posted by John Nack at 10:39 AM on January 14, 2010


  • Klaus Nordby — 11:52 AM on January 14, 2010

    I have often needed a way to open all the pages of a multi-page PDF in PS, set global resolution, color, etc. and save out the individual pages as PSD, TIF, JPG, etc. I am unable to make this happen with Actions and, AFAIK, the Image Processor cannot (at present) do this, either. I can’t imagine my need for this is so unique — so I think some clever scripter could make a lot folks happy by creating this functionality. Heck, I’d even pay a little to get this function!

  • MW — 12:46 PM on January 14, 2010

    Klaus- I’ve needed exactly the same thing and when I clicked the link and found the bulletin board, the same thought popped into my head. It took me about a minute to find it and about two minutes to install, test and figure out that this one script will save me countless hours of work:
    (download the second script which adds the crop-to setting)
    I’m one of those who were vaguely aware that Photoshop supported scripting but never had time to become proficient at it. Thanks for pointing out what’s already out there.

  • Klaus Nordby — 1:55 PM on January 14, 2010

    MW, wow, fantastic!!! I got it, and it’s working fine! This PDF conversion has a hundred uses, so glory be to Adobe for enabling scripting in general — and this scripter, Paul MR, in particular.

  • Pål Elnan — 4:34 PM on January 14, 2010

    Anyone know if there is a tweak for the Image Processor which lets you open files from different folders in Photoshop, then use the “Open files” option, and get Image Processor to save each file in their original location?
    And I would be glad to get rid of the folders that IP creates as well. Just save the new file in the original folder.

  • David — 5:24 PM on January 14, 2010

    Search for the following three bits of text in “Image Processor.jsx” (located in {photoshop directory}/presets/scripts/)
    and replace each one with
    Save the script and you’re good to go.
    This change could easily be made into an option, but I haven’t really messed around with GUIs in scripts.

  • Christian Ö. — 12:55 AM on January 15, 2010

    Jack, you wrote that your team is trying to implement more features via scripting. Will you make it possible to adress notes (create, write/read, delete) in the future? At the moment there is no way to talk to notes.

  • Christian Ö. — 2:23 AM on January 15, 2010

    Dammit, I called you Jack instead of John, I’m sorry. ;) “John Nack” confused my mind it seems.
    [Heh–happens all the time. –J.]

  • Davide Barranca — 6:51 AM on January 15, 2010

    Maybe this is the right moment to ask whether scripting/developing in CS5 and future version will be implemented with the mix of mxml/actionscript John talked about some time ago, or maybe webkit, a mix of the two, still ExtendScript… or what?! ;-)

  • Scott Gilbertson — 8:47 AM on January 15, 2010

    As long as we’re talking scripting: I run an action where one of the steps is to apply a specific ICC profile (other than SWOP2), but the action always stops to ask which profile to apply. Is there anyway to apply the profile w/o having the action stop?

  • Mike Hale — 1:06 PM on January 16, 2010

    Scott ( and others )
    If you will post a request at either my forum ps-scripts.com/bb or the Adobe Photoshop Scripting Fourm http://forums.adobe.com/community/photoshop/photoshop_scripting I’m sure that someone will be willing to help.
    To answer your question, yes using a script you can convert a document to a specific ICC profile without user interaction or prompts.

  • Bryan K — 1:25 PM on January 16, 2010

    Check out Dr. Brown’s 1-2-3 Process Script, included in his scripts package available here:
    Offers all that and more. I use this all the time.

  • PECourtejoie — 12:02 PM on January 17, 2010

    Scott, have you tried unchecking the dialog icon next to that step in the action?
    If I do not remember correctly, the solution is in the mother of all actions tutorials: http://www.atncentral.com/zip/PhotoshopActions_ver1.1Btoc.zip (300 pages of Actions action!)

  • ken - singapore photographer — 6:39 PM on January 23, 2010

    these scripts are so useful! thks so much!

  • Printsasia — 3:59 AM on July 10, 2012

    i am unable to process Image Processor.jsx file

Copyright © 2021 Adobe Systems Incorporated. All rights reserved.
Terms of Use | Privacy Policy and Cookies (Updated)