grabc

Tool to identify pixel colors on X
git clone https://git.sinitax.com/muquit/grabc
Log | Files | Refs | README | Upstream | sfeed.txt

commit f90b121e61f1e48890e29742122033e5107ddaf0
parent 4be2da1ec8745d51df63e92c149f3d1484a1113f
Author: muquit <muquit@gmail.com>
Date:   Wed, 11 Apr 2018 19:33:25 -0400

Add ChangeLog

Diffstat:
AChangeLog.md | 17+++++++++++++++++
DREADME | 21---------------------
AREADME.md | 23+++++++++++++++++++++++
3 files changed, 40 insertions(+), 21 deletions(-)

diff --git a/ChangeLog.md b/ChangeLog.md @@ -0,0 +1,17 @@ +v1.0.2 +====== + * Was not working properly on Ubuntu Terminal. + It was using default Colormap. Do not use default colormap, + rather get it from window attributes. + + * If could not get XImage from target window, it is probably root window, + so try to grab it from there. + + * Added options + + (Apr-10-2018) + +v1.0.1 +====== + - first cut + (march-16-1997) diff --git a/README b/README @@ -1,21 +0,0 @@ -A simple program to determine the color string in hex by clicking on a pixel. - - When this program is run, the mouse pointer is grabbed and changed to - a cross hair and when the mouse is clicked, the color of the clicked - pixel is written to stdout in hex prefixed with # - - This program can be useful when you see a color and want to use the - color in xterm or your window manager's border but no clue what the - name of the color is. It's silly to use a image processing software - to find it out. - -To compile, at the shell prompt, type: - make - --- -Muhammd A Muquit -ma_muquit@fccc.edu -http://www.fccc.edu/users/muquit/ - -March 16, 1997 -(a quick hack on my home linux box) diff --git a/README.md b/README.md @@ -0,0 +1,23 @@ +A command line tool for X Window System to identify the color string in hex by clicking on a pixel. + + When this program is run, the mouse pointer is grabbed and changed to + a cross hair and when the mouse is clicked, the color of the clicked + pixel is written to stdout in hex prefixed with # + + This program can be useful when you see a color and want to use the + color in xterm or your window manager's border but no clue what the + name of the color is. It's silly to use a image processing software + to find it out. + +To compile, at the shell prompt, type: + make + +-- + + v1.0.1 + March 16, 1997 + +-- + + v1.0.2 + Updated: Apr-10-2018