| | How to get a pixel's color from any certain pixel at the screen, using Javascript, dhtml, any client-side scripting language?
For example how to get pixel's color for 10,10 pixel?
|
Reply
beeseven
Oct 10 2005, 01:15 AM
My friend made a version of MSPaint in Java for a project in our Computer Science class, but couldn't make a filler because we determined that there was no plausible way to determine a pixel's color. That, the fact that JavaScript is generally weaker than Java, and the fact that pixels on the client's machine would probably not be on the page where the script is contained would lead me to believe that it's not possible. JS always manages to surprise me, though, so I guess you could keep looking. Just don't get your hopes up.
Reply
p_a
Oct 10 2005, 06:49 AM
Okay, considering Javascript is not strong enough, can VBscript do the task?
Reply
cse-icons
Oct 10 2005, 10:38 AM
hi p_a, I dont think either javascript/vbscript have such a feature incorporated into them. But Java would surely have that feature, which beeseven says to not having found. Even C/C++ have the feature to get the color of the pixed under the mouse cursor. So I do not think that Java would do without such a feature, esp Swing. Cheers.
Reply
p_a
Oct 10 2005, 11:40 AM
Thanks all! I still believe that there should be a way to get pixel's color using client side scripting like Javascript or VBScript. In my web application I even do not need to have the color under mouse pointer, but just the color at certain position, like 10,10 as I mentioned above. I do not know if PHP or Perl can do it (both are server scripting languages) but I am sure that Java can do it. The only problem is that I really want to avoid Java, not because it is bad, but because of - I already have PHP+Javascript in my application, and Java is sometimes slow to start itself into memory, especially on older PCs. I had really bad experience with JSP, I have even kind of strange anxiety using JSP, cause when I transfered my applications from JSP to PHP I got them work much, much faster and more reliable. Somebody would say I should just make better JSP setings on my web server, but, with PHP everything worked amazingly smooth immidiately. I hope that I'll find a way to get pixel color without using Java.
Reply
dul
Oct 19 2005, 12:44 AM
I have got very good sample for you. have a lokk http://www.cs.duke.edu/courses/cps004/fall.../RGBCanvas.html and use in you script. that is gonna help you.
Reply
kaylanicole
Jan 5 2006, 11:16 PM
well what i do when i'm trying to get a pixel's color is i press the print screen button on the keyboard, open up photoshop, paste it, zoom in to where the pixels are visible, and use the eyedropper tool to click on the pixel i want the color of. the color goes to foreground color box so click on that twice. a color picker box comes up and at the bottom of it is # beside a textbox. in that textbox is the code of that color so copy and paste that to whereever you need it and there ya go!
Reply
Aparna
Mar 9 2006, 09:00 AM
Is it possible to use a java applet to find out the color of a pixel on a web page?
Reply
jlhaslip
Mar 9 2006, 10:38 AM
QUOTE(Aparna @ Mar 9 2006, 02:00 AM)  Is it possible to use a java applet to find out the color of a pixel on a web page?
Did you read two posts up? Maybe three...
Reply
beeseven
Mar 11 2006, 05:08 AM
It's too bad that the RGBCanvas != the user's screen, isn't it?
Reply
Recent Queries:--
vb.net getpixel - 1.36 hr back. (1)
-
java pixel color - 15.98 hr back. (1)
-
.net get pixel color - 17.16 hr back. (1)
-
vb pixel get - 17.60 hr back. (1)
-
how to get color from a pixel -xlib - 17.65 hr back. (1)
-
read pixel by pixel with vb.net - 18.80 hr back. (1)
-
get colors of pixel php - 18.83 hr back. (1)
-
get color mouse vb.net - 21.02 hr back. (1)
-
pixels color - 23.02 hr back. (1)
-
vb.net get color from mouse position - 23.57 hr back. (1)
-
get pixel color - 17.20 hr back. (2)
-
php read pixel color of picture - 36.47 hr back. (1)
-
getpixel image java - 36.73 hr back. (1)
-
vb.net get pixel color cursor - 37.14 hr back. (2)
Similar Topics
Keywords : pixels, color
- Helpful On-line Color-picker Site From Adobe: Kuler.adobe.com
(0)
A Really Cool Online Color Picker: Kuler.adobe.com
(0) Hi - Sometimes when you're designing a website (or getting ready to paint your house!) you need
to have color samples which you can mix and match, to get an idea of how things will look. There
are several interactive websites online which help you choose a set of colors or "palette" - I think
the best one by far is kuler.adobe.com from Adobe (requires Flash): http://kuler.adobe.com/ Try
clicking on "Create" and then drag the knobs around the color wheel to create different color
palettes. Under "Select a Rule" you can also choose the rule used for creating your....
Fall Color
The most beautiful thing (4) Well just a little while ago, it was my turn to walk our dog. As we walked I noticed something
that I have seen every year since I can remember. the fall colors of all the tree. But this year for
some reason it reall aw struck me. Every color of the rainbow could be seen. Wierd how it made me
feel seeing all this. relaxed and happy like not a care in the world. Like everything was at pece in
the world. If you ever have the chance do look at the world as I saw it today. so relaxing.....
Test Ul/color
(0) list1 black list2 red list3 blue ....
Finding The Rgb Color Of An Image
Using any programming language (4) hello friends i am doing a project , in that i am inneed to fine the mean RGB value of a particular
image , is there any program in any language which can do this ? the input to the program will be
any image ( can be linked in the program) and the putput must be the mean RGB value of that
particular image , is this Possible ? If so please post the Coding , no matter in what ever language
it may be written.Thanks in Advance....
I Made The Color Guard.
(7) So today we held auditions for the high school's color guard. For those of you who don't
know what that is, it's the people who twirl flags at the football games. It's a lot of
fun. well I thought I would just let you know. Hahaha.....
Cod4 Color Guide
(1) Okay, i see a lot of people trying to figure out how to use colors and blah blah. Well here's
the guide made by me to teach you thanks. ^1 - RED ^2 - GREEN ^3 - YELLOW ^4 - BLUE ^5 - CYAN ^6 -
PINK ^7 - WHITE ^8 - DEFAULT MAP COLOR ^9 - GREY OR DEFAULT MAP COLOR ^0 - BLACK....
Healing With Color
(10) So what is "healing with color" and how does it work? There are many ways to use color to help
balance the body ( mind/emotions/soul) out. All colors operate on their own wavelength and
everyone reacts to these in their own way. It has been shown that color does affect not just the
senses but the body itself. There are many ways to heal with color. Let's look at some examples:
There is healing with colored light ( subjecting yourself for periods of time under certain hues).
Healing with color based meditations ( focusing on a color in your minds eye). Healing w....
Do You Dream In Black & White Or Color?
(27) Hellosies! I 'm one of those people who usually dream in VIVID colors ( more like technicolor
sometimes lol!) and was surprised to find that some people dream only in black and white. So my
question for ya'll is how many of you here dream in color? How many here dream in black and
white? Okay so how many of you are super talented and dream in both versions? ....
[vb.net 2k5] Color Fading Textboxes
vb .net visual basic color fading textbox 2k5 2005 (0) Ok, here's another good application, but it has not been made by me, i can't remember the
source of it to give credits to. But anyway it's a good application to use in forms, when
someone forget to insert a data... take a look. greetz ~ Joćo Lopes....
Css Scroll Bar Styles
Change the color of your website scrollbar! (1) REQUIREMENTS 1. Must have limited to good knowledge of CSS. 2. Must have limited to good knowlege
of HTML. THE ELEMENTS First of all, there are 7 different elements of a scrollbar. a) Scrollbar
Arrow Color /cool.gif" style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" />
Scrollbar Darkshadow Color c) Scrollbar Track Color d) Scrollbar Face Color e) Scrollbar Shadow
Color f) Scrollbar Highlight Color g) Scrollbar 3dlight Color Bassically all that you need to do is
change the colors like you normally do with any sort of CSS. Therefore, if you want the....
Cell Color Change
(1) Hi.. How do I make a cell change colour if it is edited? As far as I tried conditional formatting
does not work in this case /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
alt="biggrin.gif" />....
Ie 6 Display Problem
unexpected background color (5) Hi guys, I have just tested my site with IE6 and there seems to be some rendering problems:
http://www.rosemarysmediation.com/index.php?page=home All of that aqua color should be black as
you can see in firefox. Any help or suggestions would be greatly appreciated. Cheers /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
Monitor Getting Switched Off
17 inch color monitor (6) i got a new computer recently and everything was fine , until one day suddenly while listiening to
songs my monitor got switched off and again wen i powered off the computer and when i turned it on
the monitor was ok , but again after some time the monitor got switched off and this problem is
continuing for a longtime till now , i contacted my dealer. The dealer said to change the CMOS
battery , i did and still the problem exists and again i contacted him and he said to reinstall the
video card , i did again the problem came , and he asked to remove all the magnetic dev....
[question] Color Differenses [resolved]
(2) Ok, so i have this layout http://school-stuff.org/test/test.html and i opened up photoshop to
get the Hex code to what the background of the content area should be so i could make the background
of the whole page that color so they would match. Make sense? well i got #6B4929 Which Looks like
this in firefox: and when i go into IE and look @ it like this: it looks different, i copy
the logo and put it in photoshop and pull up the background color and i get this: #633c21 Which
looks like this in Firefox: but this in IE: any idea what i can do to fi....
Color Has An Impact On Your Emotions
What does it represent? (2) In the Special Edition of Using Microsoft PowerPoint 2002 there is a section on color. It states
that color has an impact on your emotions. QUOTE All people, regardless of culture, share a
universal range of emotions, such as happiness, sadness, excitement, anxiety, desire, passion and so
forth. The ability to tap into these emotions using correct color choices can increase the
effectiveness of a presentation. They list several colors and give the suggested colors to use
for different effects. QUOTE Grey Neutrality Border between directions Uncommitted an....
How To Change The Color Of The Leds On A Dell Xps System
(5) I happen to find this by accident when trying to fix my computer; anyway, in this tutorial I will
show you how to change the LED colors on either your Dell XPS laptop or XPS desktop. You will be
able to get rid of that red color and change it to 16 other colors. Setting this up is pretty
simple as there are two ways to do this; the first way is to download the XPS LightFX SDK through
the Dell website. The other way is through your computer BIOS and that is what I will talk about in
this tutorial. One of the neat things about changing the colors on your computer i....
What Is Your Favorite Color?
debate what your favorite color is and why (30) in this debate you should explain what your favorite color is and why it is that color over all
other colors. ill start it off and say my favorite color is a dark green an this is my favorite
color because i like camping/hunting and other outdoor activities and most of the trees have dark
green leaves so that became my favorite color....
Choose The Correct Color Scheme For You Website
(11) here are some great free tools that will help you to choose the correct matching color scheme for
your website * http://meddle.dzygn.com/tests/colors/ *
http://wellstyled.com/tools/colorscheme2/index-en.html * http://kuler.adobe.com/ Use these
tools to select the right colors for you website....
More Color Choice In Shout Box Text
Purple please. (8) Hey, how about adding more color options for the text in the shout box. I would like to see
purple added. ....
Why Leaves Change Their Color In Autumn
(2) Alright well the cooler weather is arriving up in the northern states (sadly not in warm Florida)
and it's time for the leaves to change color and fall off the trees. I never really wondered
though, why they change their color. Well hopefully you know that leaves get their green color
from the chlorophyll is the dominant pigment that makes food and it gives the leaf a green color.
Other pigments and carotenes also are in a leaf with orange or red or purple or yellow colors. The
green though is the dominant color and is the only color shown. During fall though t....
Help With Color Choosing
(7) ok, well i got a new laptop...and it havent gotten the CD back from my friend for Photoshop, so i
asked a friend of mine if he could take a screenshot of my site, and get the color of the right side
navigation menu, when i say color i mean the hex code.... he said "oh i have a program that will do
that" so he did it, and his program got #201820, so i took that hex code, and applied it to the
poll that i have, so it will be set as the polls background color so it blends with the navigation
menu... well that didn't work, i got somthing completley different than the....
Muti Color Sig Tut For Photoshop!
(2) Step 1 : Start by opening a new file with size of 400x130. Then fille the background with black.
Step 2 : Then choose a brush of your choice and make some designs you like. Step 3 : Add your
render and then resize if necessary. Step 4 : Desaturate by pressing Ctrl+shift+U . Step 5 : Hide
all the layers except for the render layer. Then use the magic wand tool to select the transparent
parts around your render. Right click and go to feather and select a radious of 5. Then hit delete
twice to blend the render in. step 6 : Make a new layer and select the gradient ....
Help Setting Table Size.
Seting it to precentages. Instead of Pixels (2) Hey guys I use dreamweaver alot and I was wondering about one thing cause it would help me with this
and the raw coding. Whats the code to make your table(say if your whole site was a table) Be as
wide as there monitor/resolutioin or w/e? Cause its really hard for me to do it cause i have to
minmiize all the other horizontal tabs in DW, then get it the right size, Save it, Check in browser
etc... and its a pain in the neck isnt there some way just to make it be the width of the browser
window or somthing?....
Multi-color Smudge Tutorial
(5) ....
[photoshop]grunge Abstract Sig ~ Samma
Includes Multi Color Method (9) Im not sure if this has been done before... I havent seen a grunge abstract tut before, but anyways
here it is /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> Outcome:
1. Fill the canvas with black, and brush with white using a grunge brush. After you have
completely filled the whole layer with the grunge brush, go to Image > Adjustments > Auto Contrast,
then go to Filter > Sharpen > Sharpen Edges, then finaly go to Edit > Fade Sharpen Edges and do an
opacity of 50%. Make a new layer. Repeat Step 1. another 2 times using different gru....
Changing Background Color In Php
usefull for templating. (5) Tutorial on how to change background color with PHP I will be descibing to similiar ways that
you can change the background color of your website with php and leave it at that till the user
changes it again. We are going to do this with CSS. You can either have your cSS info on your page
or in a spereate document. The first thing youll have to do is decide if your going for the linked
stylesheet or directly on your page. IF you link it you'll need to have this code in you
tags. CODE This isnt actualy real linking because i dont think you can li....
Psp Home Screen
it... changed color (3) when i first bought my psp the home screen was green, a few days ago i turned it on and it was blue
with a hint of pink at the top, at first i thought that a magnet had gotten to close to it and i was
screwed so i checked my games and they play fine the color isn't messed up. any one know what
happened??????? /ohmy.gif' border='0' style='vertical-align:middle' alt='ohmy.gif' />
/ohmy.gif' border='0' style='vertical-align:middle' alt='ohmy.gif' /> /ohmy.gif' border='0'
style='vertical-align:middle' alt='ohmy.gif' /> /ohmy.gif' border='0' style='vertical-....
Favorite Color
a poll about colors (94) My favorite color is orange. I don't know why, I just do. But it's wierd because I like
the color but not the fruit. We just bought this house and we are remodeling it (hte family that
lived there REALLY trashed it up) and I told my mom that I wanted my room orange. She laughed and
told me I was crazy. I'll just have to see and wait to see if I can paint it orange. Oh and
by the way, sorry if someone already posted this.....
Make A Multi-color Sig {photoshop}
(9) This tut is from my forums at www.halo2krew.com so please give credit if u use it This tut is on
how to make a multicolor sig. You will have to know the basic commands and tools in Photoshop becaus
I wont explain everything in detail. 1. Make a new document- 400x100 is what Im doing 2. Most
people like to fill in the canvas with black or do clouds but im just going to start brushing right
away. So take out your brushes and press "d" to reset your colors. Then brush with your grunge
brushes on your canvas untill you get this dark, 3. Now Make a new layer and Brush ....
Looking for pixels, color
|
*SIMILAR VIDEOS*
Searching Video's for pixels, color
*MORE FROM TRAP17.COM*
|
advertisement
|
|