Select the color in position specific xy of a picture?

Hello

I'm building an action and could simplify the workflow if I could choose color to a specific place in each picture.

Specifically, I want to select the pixel at the top in the center of the images (which are all 500x500px) and make sure that the color of the background color.

How to choose a location specific xy like that?

Thank you.

You can use a script and call the script with your action.

#target Photoshop
function main(){
if(!documents.length) return;
app.activeDocument.colorSamplers.removeAll();
var X = activeDocument.width.as('px')/2;
var sample = activeDocument.colorSamplers.add( [ new UnitValue( X, 'px' ), new UnitValue( 1, 'px' ) ] );
app.backgroundColor=sample.color;
app.activeDocument.colorSamplers.removeAll();
}
main();

Tags: Photoshop

Similar Questions

  • Select the color of bitmap images or grayscale in InDesign CC 2015.4

    Hi all

    Since InDesign CS1, I'm used to be able to import levels of grayscale or bitmap graphics, and then select the color in InDesign.

    I just had to choose the "Direct Selection" tool, click on the graphic and select another color.

    Since InDesign version CC 2015.4 it no longer works.

    No workaround is it available?

    Thank you


    Robin (from Germany)

    Hi Robin,

    This is a bug with InDesign CC 2015.4.
    To set the end of August.

    So far, you could always leave the preview overlay mode on.
    So the bug is not visible.

    For a German discussion see the following thread at hilfdirselbst.ch

    Umfarben nicht possible - Adobe InDesign - HilfDirSelbst.ch - Forum

    Kind regards
    Uwe

  • Cannot select the color of gray background

    When I use the eyedropper tool to select the color of gray background with illustrator he defined that as the color of the shape it makes some weird greenish gray color. The box in the screenshot should be the same color as the background, but it is not.

    Colorguide fail2.PNG

    After spending some more time troubleshooting, I found the solution. It was indeed a problem with the color on my computer management. I had, some time ago, set up a second display screen, but it turned off because need to concentrate on two monitors always has been disrupting my work flow. One was on a digital input, the second was on an analog input. Although I disabled the other monitor on my computer display settings, color management profile was still set to analog display, and so it was the analogue display on a digital input. I disconnected the second monitor completely and made sure color management profile has been set to digital. Now, all the colors are correct as well as profiles of colors on Illustrator.

    Thank you all for your time and your help.

  • Need help in selecting the color in the image and use it in other images.

    I have about 10 photos of a drawing/character but the color is not consistent. How to select a color in the first drawing and then use that same color in all the

    drawings so that he is there not differences in images?

    On one of the drawings, use the eyedropper tool.

    You can select the color of different sample sizes, 1-pixel average of 101 x 101.

    And then double-click the color in the Color Palette and add it to your color chart.

    Name your new shade.

    Voila.

  • Pipette by selecting the color of the contour not under layer

    I try to do a net of gradient on an Apple.  I'm stuck when filling out the mesh with the eyedropper tool.

    What I do is use the direct Selection tool, then click an anchor point and then click the eyedropper on the anchor point what happens is the the color of the outline is selected. Then I found Illustrator CS6 you must hold SHIFT key while clicking the eyedropper.  I tried and still not get the color of the layer, the fill color remains white?  Here is the picture:

    http://oi44.tinypic.com/2m5ymo2.jpg

    As you can see in the browser window, the shade of Red is that of the sketch and not the Apple under the edge.  I tried shift + pipette and white is the only color of the GET sampled.  What I am doing wrong?

    Do not click on the mesh lines.

  • Change the color of a specific character in a text.

    Hi guys! for a project I need to change the color of each "a" in a text. Is there a way I can do it automatically?

    Aaaah! Try using a simple grep style!

    If you need to play in all the paragraph styles, map of style grep using this very clever script written by Colin Flashman, King of merge data!

    https://DL.dropboxusercontent.com/u/55743036/grepstylemap.jsx

    or a simple F/R.

  • by selecting the color with the Brush tool

    is it possible to choose the FOREGROUND COLOR while using the Brush tool?

    If I hold down the option key and click on the tool icon brush becomes the eyedropper icon, but click on produces only a COLOR of background.

    I know that the tool of the icon itself can choose fade in the foreground or background, but it seems that there is a way to choose the FOREGROUND COLOR while using the Brush tool.

    what Miss me?

    Thank you

    Vince

    It is possible that you have the background color of active play sample in the color Panel. Go to the color Panel and click on the foreground swatch (to make it active) and see if that makes a difference.

    MTSTUNER

  • How to manipulate the color of my feather degraded on a picture. InDesign.

    Hi guys,.

    I do a magazine of landscape and I applied a gradient of feathers over a picture (as a copy). The point of the gradient feather is to allow the copy to stand out a little more on top of the image.

    I can't find a way to change the color of the gradient feather?
    I tried to keep the copy and the white of the title and maybe play with a transparent gray gradient. I haven't completely decided.

    The answer is probably look me in the face, but at this point I'm tempted to use only an opacity in the copy area. :/

    See you soon!

    Screen Shot 2015-05-23 at 9.26.30 pm.png

    If you want to do in InDesign you have superimpose an image on top of the image, add a mixture and adjust its transparency. The mixture can be black or gray white set to multiply with transparent amount adjusted according to needs.

    I prefer to do this kind of thing in Photoshop as an adjustment layer, which has the (slight) advantage do not add transparency to the page and perhaps more control over the color. Something like this curve with a mixture of sound adjustment mask. I can white Option arrow-click on the image of the layout to open in PS and adjust according to your needs:

  • cannot select the color of the mark on the intensity

    Hi people,

    I want to add color to my plot intensity, but when I right click on the bar of color card, the mark color is gray. A picture is attached.  I use LV2011.

    Someone knows how to fix this?

    Thank you.

    -Sonny

    Hey Sonny,

    What you have to do, is actually one of the first click.  Look at the picture I have attached.  You can see that I have highlighted the value 39.4161.  Once you do this, right click on the brand and you should be good to go.

    If you want more color, you add more markers.  This can be done simply by right-clicking on the z scale everywhere where you want to add the marker, and then selecting "Add marker".

    I hope this helps!

  • Select the color range crashing Photoshop CC 2015

    Just updated to Photoshop CC 2105. Photoshop crashes every time that I have use the shift for sample colors in the select color range. Using Windows 7. Someone knows how to solve?

    Thanks, helped your description. I got it down. He established a 0 tolerance it does. When I set the tolerance to 1 he didn't do. While it is a bug, I had just set the tolerance to 1 if you really want to use 0 move it back after you have made the selection. I never use 0, I always feel like a few feathers. If I want something that lasts, I would use the magic wand tool. I'll have to see about this statement.

  • Select the color based on the value of the selected list

    Hello

    Is could someone please tell me if it is possible to display a LOV with a background color according to the selected value?

    In fact, I have a report with many selection lists whose value can be N/A Y, N, and I would like that the corresponding LOVs have the background in color according to the value.

    Thanks in advance,

    Andreea

    Published by: user12064977 on October 20, 2009 02:15

    Oh! I have not read the word "report" in your original post and I took your page as a form... :(

    OK, first of all, run your page and see the HTML source generated for it. Note the value of the attribute "name" for all the columns in the report when you use selection lists. Now using JS, set the background color for them.

    Suppose "f03" is the name for your selection list value, then

    Try the code in the following page footer section

    
    
    CheersHari 
    
  • The color range selection

    Hello world

    Can someone please clear up a problem I'm having with Photoshop. I start as I am a student of PS early.

    When I try to adjust the color of a portion of an image, I create a hue/saturation layer and then go to the layer mask tab and click on the color range.

    I noticed two things:

    1. when I try to go back to the color range selection after OKing an adjustment... my additions will not be displayed in the mask. Is this normal?

    2. I can not activate the color range if I invert the mask first. The mask must be white, until I click color range for any selection is visible. Is the right one?

    I have glitches with PS or is this normal?

    Thank you

    Daniel

    If a couple of things here.

    Based on your details, I can recreate the same question. If I have a H & S adjustment layer, use selection > color range to create a selection in this adjustment layer mask. But if I try to apply new range to select a color, it blackens my just mask or does not apply a update for the mask area. It seems that you have to actually reset the white mask.

    So, I don't think that your system is glitching. It's just how this tool works. But I'm curious to what you do that drives this workflow. If you need convert/adjust a color, you can select this color spectrum in drop-down setting H & S layer options from the master to a specific hue. Then use the pipette to the left to select the color you want to change. That align with the value of the color you want to adjust in the sample interval. Now, move the Tint slider, and this should change. Now, what you do not want to change, just "dab" try it with a black brush on the layer mask to the value adjustment.

  • change the color of the current date af:inputDate

    Dear experts,

    I have demands to change the color of a specific date in af:inputDate, but I can't find a way to change the date of the day color (04/09/205-JJ/MM/AAAA). Do you have any suggestions?

    I want the 09/04/2015 also green.

    selectedDate.png

    Thank you

    Ricky

    Hello

    AF | chooseDate::today The styles of the appearance of the cell of the table for the current date (today). For example, you can add a background color or a border to the cell.

    Pseudo classes Description
    selected

    JSPX page

    Below the code in skin file works for me, when we choose a date

    AF | {chooseDate::today}

    background-color: black;

    }

    Thank you

    Amey

  • Pages 5.6.2, cannot highlight and change the color of the text?

    I use pages 4.3 and earlier of passage to 5.6.2 - I just tried to highlight a word in a document and change the color - nothing happened.  Tried selecting the color first, and then type a new Word and that doesn't work either.  Am I missing something?  Is there any quick way to the color of the text in 5.6.2?

    To well highlight a word or a selection of words in the v5.6.2, Pages you will need to select the text, click the image below on the gear watch icon and set the fill color of your character. To remove the highlight, select your text, click in the ink of fill color of characters and click transparency icon in the lower right.

  • Insert a table in a mail, how can I change the color/style of the border?

    Hello, I think my question is simple, that I just haven't found how to change the color and style of the borders of a table that I inserted in an e-mail.

    Thanks in advance for your help

    Do exactly as described by guigs2.

    This image will help... see below.

    As before open table properties. Make sure you select 'Table' and then click 'Advanced Edit' button

    In HTML tab attributes

    • Type "bordercolor" in the "attribute".
    • in value, you can use the word for example: blue or type a string for example HTML color: #3333ff
    • Click OK to close the advanced properties editor
    • Click 'Apply' to see color.
    • Click OK to close the properties of the table.

    If you don't know HTML color string, you can find some here.
    In a normal write the message, click on the text color icon to open a small window of text color. When you select the color, it will show you the html string of the color, which must be the hash tag # before letters them and numbers.

Maybe you are looking for