Script photoshop | rename for color/image

Hello to all,
My English is terrible, but I hope you manage to understand.
I need a script to photoshop you can run at the end of an action, which indivudi the main color of an image, and based on what save the image with a specific name.
example:
Load a picture of a red pen (on white background), the script detects the color red as the primary and save the image: file name + "-red"
if the pen was green, would save with the: file name + "-green"
if the pen was dark green, with the would save: file name + "-dark_green"
most are color variants that can distinguer, the better.
please let help me.

Maybe you should check out this thread:
http://www.ps-scripts.com/bb/viewtopic.php?f=9&t=5095

Similar Messages

  • Photoshop Elements 10 colored image became greyscale

    I had edited an image in a layer.  It is a full color image.  When I  dragged & droped it into a totally different photo, suddenly it appeared in greyscale.  The original image in its original layer is still full color. This has never happened to me before.  What went wrong, & how can I fix it?

    From the menu choose:
    Image >> Mode >> RGB Color

  • Script or function for flipped images

    Hi
    My team is an in-house creative team on a MAC environment. We do our own preflighting. From time to time vendors send us backward images. Some slip through the cracks before placing them in InDesign and we have to manually inspect each image before sending to a print vendor. Is there a script or an InDesign function that checks for this?
    Thanks,
    Johnny_Bigtime

    This sets the flip of every link and its frame to none. Note that the flip is relative to the Transform Panel's Reference Point
    tell application "Adobe InDesign CS5.5"
              tell active document
                        set IDLinks to links
                        repeat with myCounter from 1 to count IDLinks
                                  set absolute flip of parent of item myCounter of IDLinks to none
                                  set absolute flip of parent of parent of item myCounter of IDLinks to none
                        end repeat
              end tell
    end tell

  • Photoshop CS5 for Windows - Image resize/shadow detail

    Hi
    I have a problem I am experiencing more often that I could do with some help on.
    My problem is that, if I reduce a photograph in size, the shadow details becomes distorted. The distortion when viewed at 100% looks like a feint grid hatching effect.
    My workflow consists of Adobe lightroom - I shot in RAW, then prep in Lightroom. Then I use photoshop if I need to do some additional work on the photo.
    Its very odd. I can reproduce the problem in photoshop as soon as its opened from lightroom. Meaning - I havent applied anything in photoshop like adjustment layers or filters.
    Can anyone offer a steer on this, or has anyone come across this before? I can post an example of this when I get home (I am at work at the moment)
    I was hoping someone else may have come across this issue and perhaps offer a workaround.
    I am patched uptodate with all available patches.
    Thanks in Advance
    Neil Kendall

    Oh, that's possible. I went and read the detailed specs for my computer and it seems like it has both Intel and NVIDIA. Could that be it? (Computer hardware issues are not my area of expertise.)

  • PDF from postscript (ps2pdf) displays "Insufficient data for an image" error in Reader

    Hello,
    I'm not fully confident this is the best place for this, but I'll start here. Note that this is NOT the same as the issue that was recently fixed in Reader 11 (found at http://helpx.adobe.com/acrobat/kb/insufficient-data-image.html)
    I am using the command "ps2pdf" (using Ghostscript) to convert postscript files to PDF. To get better quality, I use the ps2pdf options "-dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode", which force lossless encoding for color images. However, there are images on certain pages that yield the error "Insufficient data for an image" when opened in Adobe Reader XI (current version), and the image on that page is not viewable (or rather, it can be viewed, but only until you get the whole image on the screen; then the image disappears). If the PDF is printed, the image will not print. The error also occurs in Acrobat 9.4.0, and possibly other versions. However, Reader 8 displays the files with no issues. Also, Foxit reader displays the PDF files fine.
    The postscript files are screenshots generated by the user dragging a box to define the area of the screen to be printed to file. This issue only occurs for some size boxes that the user draws; others come out fine and are read by Reader just fine.
    This only happens when using FlateEncode; using lossy JPEG compression (e.g. the default ps2pdf output) does not yield files that produce the error.
    Here are some example files to demonstrate the issue (hey, maybe the issue is not even reproducible for other people! That would be helpful to know if true, so even if you can't help solve the problem, if you could verify whether this issue occurs when you open one of these files in Reader or Acrobat, it would awesome).
    bad pdf where error occurs: http://www.mediafire.com/file/zbk36yfy7vrhvhw/gmbad.pdf
    good pdf (very similar, but slightly different box drawn): http://www.mediafire.com/file/649fuxul0td5bsx/gmgood.pdf
    Merged good and bad: http://www.mediafire.com/file/54nwwebh3da7p9w/good_and_bad.pdf
    If anyone has any ideas on this issue, I would greatly appreciate it. Or if you think this isn't the right place for this, and perhaps know of a better place for my question, I'd appreciate that too. Thanks!
    Additional possibly relevant information:
    ps2pdf is being run using Ghostscript 8.15 on Unix Solaris 10. I also ran the same postscript files through ps2pdf (again using Ghostscript 8.15) on a Windows 7 machine, and the resulting PDFs did not exhibit the same errors when opened in Reader or Acrobat.
    Adobe Reader 8 and 11, and Foxit were run on Windows 7. Acrobat 9.4.0 was run through a Citrix server, and I'm not sure what version of Windows it runs on.
    I tried lots of different options in ps2pdf, and also tried running the postscript through ghostscript directly (using the "gs" command). Nothing was able to eliminate the error without resorting to using lossy JPEG compression.
    I am now using lossy (but fairly high quality) JPEG compression in the workflow, accepting the loss in quality and (paradoxically) doubled filesize of the JPEG-compressed PDF files, so I'm really just pursuing this to figure out what the heck is going on, not because it is mission critical.
    Postscript files used to create the above pdfs:
    bad: http://www.mediafire.com/file/v656dp45h2jeyj6/gmbad.ps
    good: http://www.mediafire.com/file/47sn60dgbzbxrs6/gmgood.ps
    The .ps files are very similar to each other, differing only in the image content and the image location/translation.
    The postscript files give multiple warnings/errors when opened in gsview (this happens with all .ps files created by Pinnacle, not just the ones giving me issues).
    The program that is used to create the postscript files is Philips (Adac) Pinnacle^3, a treatment planning system for radiation oncology.

    Hi, thanks for getting back to me so quickly.  Our application uses scanned images up to 10 years old, and there are thousands of images so we cannot rescan these unfortunately.   
    I work in a large organisation with it's own desktop team so unfortunately I can't upgrade the version of Reader on our user's machines to see if this resolves either.  The desktop team will also not upgrade the version as the problem appears to have only started in 9.5.2. 
    Does anyone know how I can confirm if the problem was first seen in 9.5.2 or if there were instances in 9.5.1 also?
    Thanks again

  • Swapping Color images for B&W

    I'm looking for a script that will allow me to automatically swap out all the Color images in a document for their B&W counterparts. I'm thinking that maybe I could use the suffix "_bw" on the b&w versions and store them in the same folder as the color versions. Then maybe I could find a script that would look for the file with the suffix that matches the placed file and would automatically swap it out. Does anybody know (A) if this is possible, and (B) if a script like this already exists out there. Thanks for any help. --Chris

    Well, it could be scripted, but a nice trick that has worked for me is just putting all color images in one folder and B&Ws in another. Close document, rename the folder, open document. ID will prompt you, and you can "update" (replace) all of them at once.

  • Scripting photoshop image browser

    Hello.
    Is it possible to script the image browser?
    I need to make the browser to:
    - jump to certain folder or network path
    - display certain images based on metadata
    Any suggestion regarding the idea and any hint where to look for existing source code to start with is well appreciated.
    Thanks

    Thanks for dropping by and the hints provided.
    The image browser I meant was the file browser found within Photoshop CS.  Can't I use it?  Photoshop CS4 does not have File Browser?
    I have not used CS4 and I don't have Bridge software.  I might consider buying it if the existing will not help me.
    I am using VB6 GUI as my tool in scripting Photoshop.  Can I script Bridge with VB6?  I know I am using an old version of Photoshop and that because I have developed many tools for my own use based on Photoshop CS (known as 8).
    Is there any tools that can convert my old VB code to work with Photoshop CS4?
    OR
    Will my old scripting code is going to work with new versions of photoshop?
    Thanks
     

  • Moving images from Lightroom to Photoshop 2014 CC – Color Problems?

    For some reason, whenever I select "Edit in Photoshop 2014 CC", the image color is not only extremely different from what's displayed in Lightroom, it's dark and dull. However, if I export the image as a .jpg and then import it into Photoshop 2014 CC the color looks the same as what's displayed in Lightroom and this is with NO color correction.
    Why is this happening and how should I be moving files between the two apps? BTW, I shot the images with a Canon T3i that saves the image as a CR2 and JPG.
    Thanks!

    I'm running Lightroom and Photoshop CS3. "Edit image in Photoshop CS3" works fine for me. I'm on an iMac and had Lightroom installed first, only thing I noticed is it takes PS a little longer to open up.

  • Using a script to get the color of a colorized Black & White Bitmap image

    I've been running into this wall for quite some time and would greatly appreciate any help that can given for it.
    I have an Illustrator script that runs inside of a BridgeTalk session within an InDesign script.  Yeah, it's complicated.  The upshot is that the Illustrator part opens up an EPS file, looks through all objects on a certain layer in that file, and returns an array of the colors used in it.  So, it looks at fill colors, stroke colors, gradient stops, etc.  One of the biggest stumbling blocks (next to PlugIn Items, which I'll ask about in a separate post) is getting the color of raster images.
    Most raster images, I realize, are going to be CMYK or RGB images, but our company mostly deals with either Grayscale images or Black & White Bitmaps that are embedded in the EPS file.  Those two allow the ability to colorize them by simply selecting them and then choosing a color, such as a spot PANTONE color from one of their color books.
    Now, I need the script to read the color that the raster image has been colorized with.  This works okay for images that have a GrayScale color space, as the script just looks at Colorant[0] of that image.  However, I run into a problem with Black & White Bitmap images.  Here's a piece of code that I try to make work with an EPS file that has a raster image:
    var document = app.activeDocument;
    for (var i = 0; i < document.layers[0].pageItems.length; i++) {
              // Stepping through each item on the layer.
              var currentItem = document.layers[0].pageItems[i];
              $.writeln("Current item is " + currentItem.typename);
              $.writeln("Number of channels is " + currentItem.channels);
              $.writeln("Color Space is " + currentItem.imageColorSpace);
              $.writeln("Colorized Grayscale? " + currentItem.colorizedGrayscale);
              $.writeln("Number of Colorants: " + currentItem.colorants.length);
              for (var j = 0; j < currentItem.colorants.length; j++)
                        $.writeln("Colorant number " + j + " is " + currentItem.colorants[j]);
              $.writeln("Its parent is " + currentItem.parent);
              $.writeln("Parent's typename is " + currentItem.parent.typename);
    This code runs successfully on an Illustrator file that has a Black & White Bitmap image on the top layer, but if you try and run it, you'll see the problem:  Even if you've colorized your Bitmap image with a PANTONE spot color (and the script even returns "true" on the line "Colorized Grayscale?"), Colorant number 0 is "Gray".  It should be the spot color assigned, not "Gray".
    Can anyone please help me figure out how to get the script to recognize the actual colorant of a Black & White Bitmap image in Illustrator?

    If you're a professional photographer with 50,000 pictures stored now and more coming all the time, you need to forget about using iPhoto and get yourself some professional-quality digital asset management software. iPhoto is not meant for people like you, and instead of providing a simple, elegant one-stop answer to all your needs, iPhoto is actually complicating your life.
    You need an application that will:
    - catalog ALL your images and keep track of where they are, no matter how many DVDs, folders, partitions or hard drives they're spread over;
    - display thumbnails of ALL of them, even when the DVD that contains them is not present in any drive, so you can select all the ones you want for a project;
    - find and copy (or export) the originals of all the files you've selected in the browser window, even if it means prompting you to insert the necessary DVDs for all of them.
    I suggest Googling "digital asset management software Macintosh" and seeing what turns up. I used to use an old version of Extensis Portfolio, and even that would have been better for your purposes than iPhoto is.

  • Is there a way for my images that are links NOT to be denoted by whatever color i set my links to be in my page properties?

    Hi there.
    i have set my links to be black in my page properties.  i have somes images that i am using for links and i do not want the to have a black box tracing their outline.  it's messing up my design and tables.  is there a way for my images that are links NOT to be denoted by whatever color i set my links to be in my page properties?
    see attachment.
    thanks for sharing your knowledge with me.
    gina

    If you would like your NON-linked images to have a border, and only remove the border from linked images then this css:
    a img { border:none; }
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • How to set canvas extension color for arbitrary image rotation?

    I'm using Photoshop CS4 v 11.0 with Windows XP.  When adjusting canvas size there's a menu for chosing the canvas extension color.  Where is the menu for chosing canvas extension color for arbitrary image rotation?
    Thanks.

    This will be the background colour selected in your toolbox.

  • I hired a commercial artist to create a color image for the cover of a self published book. I want a black and white image for the inside. The commercial artist has not responded to this request. How do I determine the format of the color image, I'm guess

    I hired a commercial artist to create a color image for the cover of a self published book. I want a black and white image for the inside. The commercial artist has not responded to this request. How do I determine the format of the color image, I'm guessing it's Illustrator's formatting but I don't know. How can I find out if Illustrator will open the file and allow alterations? The image opens only in Apple's Pages software?

    rons,
    It seems that all you have is a raster image, presumable PNG24 or JPEG, in RGB.
    It may have been created as raster artwork in Photoshop, or it may have been created as vector artwork with the help of Illy, or as a mixture of vector and raster artwork in either application, or both combined.
    If you just need to have a raster representation in black and white based on the current colour image, you may try this, in a new RGB document (View>Smart Guides are your friends):
    1) File>Place the image (you may tick Link or untick and have it embedded);
    2) Create a rectangle with black fill (R = G = B = 0), at least as large as the image, and place it behind the image (you may ClickDrag with the Rectangle Tool between opposite corners, then Ctrl/Cmd+X+B);
    3) Select all and in the Transparnecy palette flyout click Make Opacity Mask with both Clip and Invert Mask ticked.

  • Best file for importing images from Illustrator and Photoshop for small file sizes

    Hello Adode consults!
    I'm in the process of preparing an inDesign file for a school project -- I've already had a few harrowing experiences sending large files to the printer that are too large to process (and a very grumpy computer, etc). The end result will be a poster around 36 inches by 4 or 5 feet.
    I'm wondering if there are any best practices for making sure that the files imported into InDesign are a manageable size to begin with. Should I, for instance, be saving each file as a jpeg before placing in Indesign?
    Thanks!
    -Katherine

    No, you should not save every file as JPG before placing it in INDesign. JPG is only usefull for raster images (like photos) without any transparency in high quality.
    When you place images use:
    For raster images from Photoshop psd (rgb with color profile)
    For raster images from Photoshop with form layers, texts or any vector element use PDF (or PDP) with layers.
    For vector graphics from Illustrator use AI files or PDF.
    For layouts from other InDesign projects use either the INDD itsself or export a PDF/X4.
    But to the printer deliver a PDF according to their standards. E.g. when they need CMYK files export as PDF/X1a with the required output color space and the resolution they want. Produce the pdf via Export (Print).
    Don't deliver open INDD. File size should for printing projects not be an issue.

  • I just installed the new firefox for Mac OSX 10.6.8 and when I select an image on a site (right click and copy) and paste in Photoshop 5.5, the image lightens. It does not do this in Safari.

    Question
    I just installed the new firefox for Mac OSX 10.6.8 and when I select an image on a site (right click and copy) and paste in Photoshop 5.5, the image lightens. It does not do this in Safari.

    Firefox, Safari, and PhotoShop each handle embedded color profiles differently. For an add-on that makes it easier to experiment with Firefox's color management options, you might be interested in: [https://addons.mozilla.org/en-US/firefox/addon/color-management/ Color Management :: Add-ons for Firefox]. I haven't tried it myself.

  • Color profile for menu images ? (AdobeRGB vs. sRGB)

    Making some menus for a DVD. Original stills started out in AdobeRGB color space, but the designer converted them to sRGB, which shifted the colors and reduced the gamut.
    When the images are authored, I assume they are converted to an NTSC or PAL color space. How does this space compare to sRGB? If the NTSC and PAL gamuts are smaller than sRGB than it doesnt matter, but if they are larger/different, than I think the designer needs to go back to the original AdobeRGB images.
    Anyone have a clue about this?
    thanks...

    I was having a similar problem where there was a color disparity between the still images viewed in Photoshop and the same image viewed in FCP / DVDSP. The little info I have found so far indicates that DVDs use the Generic RGB profile. My results confirmed this. When I converted the working profile of the still images from sRGB to Generic RGB and then updated the media in FCP and DVDSP the results were much better.

Maybe you are looking for

  • What are the sources system will pick the document type while creating invo

    hi I would like to know how system will pickup the doucment type while creating invoice in vf01. i have taken off the fields  f1, f2, from the document type. in billing sub tab.  so  The moment when am creating billing system automatically displaying

  • To generate Schedule lines for scheduling Agreement when MRP is run.

    Hi, Please help advise on my following requirement: When I run the MRP for 'Single Item - Multi level' (MD02) for a material, I want MRP to generate delivery schedule lines for that material in Scheduling agreement. Please advise as to how i can go a

  • Form created as PDF/A isn't editable

    I am using Adobe LiveCycle Designer 8.0 and Adobe Acrobat 8 Professonal (version 8.3) on a Windows XP machine. Using LiveCycle Designer, I created a PDF Form from a Word document, saving it as a PDF Form. I then reopen the PDF Form in Acrobat, go to

  • Hide report path in oracle form 10g (10.1.2.0.2)

    Dear all, I m oracle form 10g (10.1.2.0.2) ,when i run report through form using paramform='yes' then parameter form open with path and userid/pass please help me how to hide this path

  • CUCM 9.x with Gateway - Troubleshoot call leg

    Guys, We have a CUCM 9.x at a main site (Site-A),  with a h.323 Gateway. The h.323 Gateway have a Sip Dial-peer with another cisco pbx in another Country (Site-B). In the past, people at Site-B used to called 816XXX to reach Site-B devices, and Peopl