Results 1 to 10 of 60

Thread: Custom picker utility

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by ulrik View Post
    This seems to be a very usefull tool, is it possible to make it work under osx (mac)?

    regards / Ulrik
    I can't package it for OSX, I've no easy access to it, but theoretically python is cross platform and should work.
    If you take the time to run the sources in osx, you could package it as a binary.
    That would require installing python, cairo, pycairo, PIL, and something like py2app, some of which aren't very straightforward to install, so I wouldn't recommend going to all that trouble just to run this little script..
    On the other hand, if you happen to already have python installed and have some idea of python on OSX (I dont :P), you could give it a shot.

  2. #2
    Join Date
    Mar 2006
    Location
    Sweden
    Posts
    79

    Smile

    Quote Originally Posted by azathothgr View Post
    I can't package it for OSX, I've no easy access to it, but theoretically python is cross platform and should work.
    If you take the time to run the sources in osx, you could package it as a binary.
    That would require installing python, cairo, pycairo, PIL, and something like py2app, some of which aren't very straightforward to install, so I wouldn't recommend going to all that trouble just to run this little script..
    On the other hand, if you happen to already have python installed and have some idea of python on OSX (I dont :P), you could give it a shot.
    Well I have all dependecies installed already, except py2app, I'm not very good at this kind of thing but I will give it a try.
    I guess I have to have the source code?

  3. #3
    The source in both archives is identical. To make the sort and unsort versions just change a variable near the end of picker.py : sort=False to sort=True.

    As for py2app I've no idea either.. If it's anything like cx_freeze, then it shouldn't be too hard. The most basic options, copied straight from the documentation examples worked just fine. Probably adding unneeded modules, but oh well.

  4. #4
    Join Date
    Oct 2007
    Location
    Europe
    Posts
    1,736
    Just extract the directory somewhere, and then drop a .col file over the executable.
    You can also drop a simple txt file containing an integer, to create a transparent picker template for that amount of colors, which you can then fill up in gimp or photoshop.
    I don't know what an integer is,
    I have a text like that:
    "#333333
    #5588aa
    #666666
    #999999
    #cc6600
    #000000
    #505050
    #676767
    #cccccc
    #0000cc
    #f0f0f0
    #ffffff
    "
    and tried to use it but I didn't have anything .
    Also two or three col files didn't work ,
    one was about six or eight color , the other, I don't know ,certainly bigger.

    I any case, the others worked well.

    Thank you very much !!

    Here are some knew palettes :

    Paint My Cat and Artists Oils :
    Attached Images Attached Images      
    "All are about quiet and light." Dany
    Daily Studio Notes , Daniela Ionesco-Fine Art

  5. #5
    Join Date
    Oct 2007
    Location
    Europe
    Posts
    1,736
    The Artists oils and CMYK Color Wheel.
    Attached Images Attached Images      
    "All are about quiet and light." Dany
    Daily Studio Notes , Daniela Ionesco-Fine Art

  6. #6
    Join Date
    Dec 2009
    Location
    Finland
    Posts
    42
    Quote Originally Posted by Dany51 View Post
    I don't know what an integer is,
    I have a text like that:
    "#333333
    #5588aa
    #666666
    #999999
    #cc6600
    #000000
    #505050
    #676767
    #cccccc
    #0000cc
    #f0f0f0
    #ffffff
    "
    and tried to use it but I didn't have anything .
    Also two or three col files didn't work ,
    one was about six or eight color , the other, I don't know ,certainly bigger.
    Just try putting in some text file (num.txt or something)
    Code:
    5
    where 5 is the amount of color swatches you want.

    That should do the trick.

  7. #7
    Join Date
    Oct 2007
    Location
    Europe
    Posts
    1,736
    A different text than the one with the colors ?!

    Isn't possible to ad it in a different line after or before the text colors,
    in the same file ?
    "All are about quiet and light." Dany
    Daily Studio Notes , Daniela Ionesco-Fine Art

  8. #8
    Join Date
    Oct 2007
    Location
    Europe
    Posts
    1,736
    Well, I tried the both ways and with the two files I get the transparent template, where I can have any color I choice ?!
    Eventually I can make the choice of the number of colors of my palette and do the template and after have the palettes.

    I don't know if it will be visible , I show what I get (white on white,
    if you click on the image you can see where it is the template) :
    Attached Images Attached Images  
    "All are about quiet and light." Dany
    Daily Studio Notes , Daniela Ionesco-Fine Art

  9. #9
    Quote Originally Posted by Dany51 View Post
    I don't know what an integer is,
    I have a text like that:
    "#333333
    #5588aa
    #666666
    #999999
    #cc6600
    #000000
    #505050
    #676767
    #cccccc
    #0000cc
    #f0f0f0
    #ffffff
    "
    and tried to use it but I didn't have anything .
    Also two or three col files didn't work ,
    one was about six or eight color , the other, I don't know ,certainly bigger.

    I any case, the others worked well.

    Thank you very much !!

    Here are some knew palettes :

    Paint My Cat and Artists Oils :
    Oo why didn't I think of that! The text file was just for entering a number of colors,and creating an empty template. But it could certainly have hex values and create a full picker, I'll look into it if you like. Might be useful for copying colors from web tools or something like that..
    As for the .col files that didn't work, maybe they're artrage2 .col files, and they're different than AR3 in some way, or I just didn't understand the col file format very well. After all I just opened some in a hex editor and saw where all the values were.
    Could you attach them?

  10. #10
    Join Date
    May 2009
    Location
    3438 ft above sea level
    Posts
    2,950
    Hexidecimal too ... ooo yes please
    "I paint because I love to cut mats" (Arthur Alexander)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •