gathering data from jit.pwindow and jit.cellblock


    Nov 03 2008 | 11:15 pm
    i am trying to make a patch where i can load a picture and it will take that color information of the picture and put it in a cellblock. this is what i have so far.
    i was wondering if there is a way to take the argb values in the cellblock and convert them to one value for each different color. (convert the 4 numerical values to one) also, right now the program just gives the information of the first column of color in the picture, starting from bottom to top. i was wondering if anyone knows how to have the program move to the second column when it is done with the first and so on and so on, giving the new values as it goes.
    any help would be greatly appreciated. thanks, john o

    • Nov 06 2008 | 12:25 am
      what's wrong with just using this?
      On Nov 3, 2008, at 6:15 PM, John OHearn wrote:
      > > i am trying to make a patch where i can load a picture and it will > take that color information of the picture and put it in a > cellblock. this is what i have so far. > > > > i was wondering if there is a way to take the argb values in the > cellblock and convert them to one value for each different color. > (convert the 4 numerical values to one) also, right now the program > just gives the information of the first column of color in the > picture, starting from bottom to top. i was wondering if anyone > knows how to have the program move to the second column when it is > done with the first and so on and so on, giving the new values as it > goes. > > any help would be greatly appreciated. > thanks, > john o >