GrafX2 color picker script [Linux]
Printed From: Pixel Joint
Category: The Lounge
Forum Name: Resources and Support
Forum Discription: Help your fellow pixel artists out with links to good tutorials, other forums, software, fonts, etc. Bugs and support issues should go here as well.
URL: https://pixeljoint.com/forum/forum_posts.asp?TID=16215
Printed Date: 29 April 2026 at 7:40am
Topic: GrafX2 color picker script [Linux]
Posted By: neota
Subject: GrafX2 color picker script [Linux]
Date Posted: 24 April 2013 at 4:11pm
I finally got around to coding that colorpicker script for GrafX2 under Linux, based on the 'grabc' program. (If you're using MacOSX, there is https://github.com/attilam/grafx2-colorpick-osx - already one ). FYI: GrafX2's interface has to work on a lot of platforms, so they have minimal access to platform-specific stuff (eg. being able to look at the contents of other windows); the built in colorpicker is only effective inside GrafX2.
I made both cycling (moves to next color index after picking) and non-cycling versions. Usually use 'cycling', because I mainly want to pick ramps rather than single colors. You can use this for example to pick colors from http://code.google.com/p/gpick/ - GPick 's "blend colors' panel:

Both versions of the script are available http://code.google.com/p/grafx2/issues/detail?id=240 - here . I recommend binding one or both to a keyboard shortcut for convenient usage. Note: you'll need to have the grabc package installed first.
------------- absolutely.
|
Replies:
Posted By: neota
Date Posted: 04 May 2013 at 4:46pm
BTW if you prefer to copy and paste multiple colors at once, I've just made some scripts for that too. For now they are posted https://groups.google.com/forum/?fromgroups#!topic/grafx2/kKk6L2jJ_nA - here . They understand/output hex codes, GPL lines, CSS rgb, and CSV. Multiple lines are treated as multiple colors.
Since GPick will happily copy multiple colors, this is now my color importing tool of choice. Now just to make GPick paste multiple colors the same way.. (it currently just reads the first line/color, in spite of the fact that it outputs multiple lines, heh)
------------- absolutely.
|
|