Forums > Jitter

gathering data from jit.pwindow and jit.cellblock

November 3, 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.

———-begin_max5_patcher———-
1359.3oc0Zs0bahCF8Y2Y5+AMr6iodPWA1Ncl1Yee+CramLxfhCsbwEjyk1Y
+uu5B1lj3jfEHS1GR.DBqy2guKmOY+q2+tEAqpuSzF.9CveCVr3WpQVXFSOx
hcCrHnjeWZAu0LwfRQaKesH3htaJE2IM2nQbknATd+eVWTr+tWUWIay+oPOC
HZY3tw2vkoWmWs9xFQpzB.RLVce.LV++H5tyAec2yTssLupPHM3.0az5sxcC
C6uvU7RyBG7klb9ALYmt79MB6BGDbXMxyLOP8pu8ABIvL3+992oOpNbw3IoJ
8INPNHZnlPnDyALd1YGDyCrSZgf23D8PRLzi0sAGM+zC0c5oRbq5i3orylFw
FQUFHupUzHAPWHJLjXHJjwOJwPT5yeFhB5ehh3ChJuxonLLyPHTpgjvD2Xmv
AvN8X.1zS.opTviHS7NmjXl9.KwMZf3jSxE896nNL38ObK+lcO1u8W5GH0Xu
p7KcVNH3i89LzSO6R0GgxNujKkM4q1JsU+VbffWDHJWILKWncjtWLdITtUnh
iAHmJWFYS4YJWlPl+.Y2ci+VtbYpnnXUQc52chKrArVV.SYVhI5Ty+ODOVkO
lYtzmkdJxakuta7gr2M02ZeWDSGECd0l10ayON8AWRSnv3nWfCgco9LRKhsx
Lnmp+Dx4X9iSRin3frd85hCZLNlngPiUFobWRhhio1.nQEF8DaSWH53lF0C5
mJqyDfeG5rOPGi.QwVwlytLJ3HJNlVWVJ5oCXOKIatGrhWsVY6NyTQVE3VGF
V7YQn.LxCtLsRdiz8jFTSVCbxajtRfIdghp23NCgP8XHzR5b2XRnmzaCtgW3
LK0I0FaaxEdVBmvdiIzZYblJRB6SEmmVPvvomJzRRJ4JU12AHfzq4MJgtJIN
fOKutYKHbjtJPaC+PFyMBxIgJJS5RqI8BsmLBcvp9Qj0UujjEZ+xNSuZEcUw
mwrviSd+layqxpuM3UEfhsRPPIw1hICPB5Jd52W2TusJaHuvOA4m3y6dSLjp
IDVurC1Bt9O6.0OYGxkhlwlFHxtUeXGKYfG0dTbbmlQHY8phZE9b26Hwldv1
+6fyNnRn0lxKLKS3xjILgoxd3ldgegDK9PTaCWNp9f5HRqnMx7uax3XePRBd
lyLjcqA6T0N+8IhSlrfNEtyKUWaBFntxOLSBIH8+QQhjPetYK1p6VB4LtMKD
Onr8GkBYSsRoxH2qMrQhC60JhOkQOuvaejeJx+CUW.02jKzJ5zx4FIm0UuGB
eiI6mf8vFUoDLW0xK2TH.7pLfBXa1JAxZf5wAORPcQdkHUoAV9Dy7TH4N4kz
3kLJlxH5dMf6jZ5UQlDpGHvPvm.WW2j+SED3E.YC+FQSKu3i+SC7S.04x7z9
iOwrIRwcXBiPgJG2vkLHAlDoUqhOOT5STMXWNi083e0GF3quwiH515sMo6hD
reOOW.5g6LQqLuhKyUMtdXRvGNoqyyxDUOvDJyy1TqRa2t6G+QrdqwhMaVFQ
kSr6BvWeduhACYBwOXNwrcd1XlNLquXRvLdP7rpYiSDzSC3vCBbnSEbL69iR
LBJI38WLMdAdBzHlAm17jcfVew4DzjYwM.lLDv8XS30AmdW8TrHyJVb+4SBl
QgdByXn2vL1S7bB0ePN1OPFEh7FlIHOgYCLiBO.4nvohlYCAxnSN8fMMFx9a
wDiNb0zDCRGTRsYImFZPZEXugw17va3nAgs3YAbjgkzWG+CO+fCNXvMCuVGl
z4YR+AyOZjQgIFUbQ8kzEAOq4rwgyy6a1CiAdFvAmOvgdUvQmGmwAUTCNSUN
XmmJG5ATG9OPogFQg
———–end_max5_patcher——-

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

This post seems to contain a broken pasted patch. This can happen if you don’t copy the entire "———-begin_max5_patcher———-" or "———–end_max5_patcher———–" for each and every patch you paste; perhaps you missed a preceding or trailing "-" when you copied the patch? Please notify the Cycling 74 web team if you think it is a bug.


November 6, 2008 | 12:25 am

what’s wrong with just using this?

———-begin_max5_patcher———-
993.3ocyXssjSBCF951mhLLdYkgbDPGmQeNTGmTHaaTfTgT6pN9taNvts6ZK
vtEv8hl17mzju+u7eJ42KWDrVcqnI.7FvGAKV76kKV3DYErns+hfR9sYE7F2
zBJEMM7MhfU9wzha0N46J3UBvqg2MvNtNaqrZyWpEYZ+FPRhBiVAXtVJw1BS
Bi.et8un1qKDZ8O2I7yOH39gtQUoq3ktAB9PsjWDbxHMxe4FAhLqoWb09RYk
Y0bfF0JTl69+p0e803fiSzuutYBsB+yxk1lUCjQ9pTGlIJJVWnx9VWpuWkS8
JNE5Xgz3tHfBYiNXkgHt6y.HjLUwAYtdqmPXsRqUG7JXB85HN34INxwc+pHx
a10rYurCVDF63MJ19k2fBS6zHZ0yvPBFRSovj3yQJvyPJjyyJnmAKnUa1TH5
fAPQNsNlEFkFmXNOMRrBrsWlFjU5irPu5Cc7bOtT.iRUt.7JX+JJDkLYAL55
b9bF+rwiWxTkkBygxi4Ec8OAq4UaLbQGbSL1SM9HpI+y4+DYmGed8OZDsKZz
7ZcWA.ntH.3TWK9EfQQ5z6rznU65hSPnS3DTH8+MmfhFONoRbvrj+CkXyVTx
00xaADP1VdM.ZytAduda8dPTGrE1GIg3XKHi0evSyd8E+dMGYSvnwKax58Zs
ppCxfdZfjgjHwFaZ3YRvibgV6NHqxUG5s.ArO2AJMwGf3IThPupzkR12JcMO
6aapU6qxetJ5MEJyR2kNl5O0bltzAbnYVQtqRxGd5cY6WisdSFuvMRTX5XXU
GOdV0WJLYMW2SMEsLmORII9+e1Cbxzm8nVvy6fSRXmj73EPUV3QLgZutRLn+
5XSlmjQWkkFH3bjnSl6EIZFuBhOFqmzF8KePfSdsCeuTnqUljD8mGwk+fgep
4EmFOCBZVJq56lJqT+PJroOs4N6kkh81CP3KsRoH3wyq3RWXKB7NvVUs7WFb
xK.5Z9OD0M7h29oZ36.leqkYmJ+tEnPVIxLkInO8v9bWCFACwDFgBMDcTHCR
fowF11e2Ga6TShI8eqOGDbpzidMQmBYk+PlsQsuN6Nah1GjCbTQxEMZYEWKM
0tdbNvGLmsx7bga3n6C0luSYh0zBAvmO6o7fQDZ7gDA6ualKlIA1lr8zdLek
IL2DsctRsv9TN8qEr4kYICASjYESD3.vDAMuXJZnXBNemcwC.S1hZmSdZHdp
D7SCSHl0CL1Wcy8+9ZYujo.oQtW7gQOBUF85gZ5D.0T5DfTTzDfTHFNAPENE
jp8IrFenRFRFY7LGjdPXB8bbzgHWwqsInsctV+mo.qL+a6RHmfUamGfUSm+r
7uvt.IcK
———–end_max5_patcher———–

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.
>
> ———-begin_max5_patcher———-
> 1359.3oc0Zs0bahCF8Y2Y5+AMr6iodPWA1Ncl1Yee+CramLxfhCsbwEjyk1Y
> +uu5B1lj3jfEHS1GR.DBqy2guKmOY+q2+tEAqpuSzF.9CveCVr3WpQVXFSOx
> hcCrHnjeWZAu0LwfRQaKesH3htaJE2IM2nQbknATd+eVWTr+tWUWIay+oPOC
> HZY3tw2vkoWmWs9xFQpzB.RLVce.LV++H5tyAec2yTssLupPHM3.0az5sxcC
> C6uvU7RyBG7klb9ALYmt79MB6BGDbXMxyLOP8pu8ABIvL3+992oOpNbw3IoJ
> 8INPNHZnlPnDyALd1YGDyCrSZgf23D8PRLzi0sAGM+zC0c5oRbq5i3orylFw
> FQUFHupUzHAPWHJLjXHJjwOJwPT5yeFhB5ehh3ChJuxonLLyPHTpgjvD2Xmv
> AvN8X.1zS.opTviHS7NmjXl9.KwMZf3jSxE896nNL38ObK+lcO1u8W5GH0Xu
> p7KcVNH3i89LzSO6R0GgxNujKkM4q1JsU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CBbnSEbL69iR
> LBJI38WLMdAdBzHlAm17jcfVew4DzjYwM.lLDv8XS30AmdW8TrHyJVb+4SBl
> QgdByXn2vL1S7bB0ePN1OPFEh7FlIHOgYCLiBO.4nvohlYCAxnSN8fMMFx9a
> wDiNb0zDCRGTRsYImFZPZEXugw17va3nAgs3YAbjgkzWG+CO+fCNXvMCuVGl
> z4YR+AyOZjQgIFUbQ8kzEAOq4rwgyy6a1CiAdFvAmOvgdUvQmGmwAUTCNSUN
> XmmJG5ATG9OPogFQg
> ———–end_max5_patcher——-
>
> 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
>

This post seems to contain a broken pasted patch. This can happen if you don’t copy the entire "———-begin_max5_patcher———-" or "———–end_max5_patcher———–" for each and every patch you paste; perhaps you missed a preceding or trailing "-" when you copied the patch? Please notify the Cycling 74 web team if you think it is a bug.


Viewing 2 posts - 1 through 2 (of 2 total)