September 28th, 2013, 12:35 AM
Image Manipulation Syntax Problems
Hey I am getting errors for my assignment I am trying to find out where I have gone wrong in my coding. The newGrey is the formula our instructor gave us in the specification document in j.e.s it does not know the word scale I have no idea as to whether I need to enter a value in there I have tried doing so but then get the error that it can't work out if it's an integer or not. I don't want someone to do the work for me but to look over see my error and help me in the right direction thanks.
for p in getPixels(pic):
newGrey = makeColor(((((499*w5)*(498*w6)*0.1)%(scale+1))+4)/(255+scale))*255