gatech-csl / jes

The Jython Environment for Students allows students to write Jython programs that can manipulate pictures, sounds, and videos.
http://mediacomputation.org/
59 stars 38 forks source link

i tested this program multiple times, i do not know why this is happening #53

Open leafstorm opened 10 years ago

leafstorm commented 10 years ago

From OnOffReb...@gmail.com on November 30, 2011 17:39:23

What steps will reproduce the problem? 1.doesn't print the number 2. 3. What is the expected output? What do you see instead? no, i expect to see each red value of the picture What version of the product are you using? On what operating system? windows 7, jython 4.3 Please provide any additional information below. my program def outputvalue(pic): for x in range(0,getWidth(pic)): for y in range(0, getHeight(pic)): r = getRed(getPixel(pic,x,y)) print r outputvalue(pic)

Original issue: http://code.google.com/p/mediacomp-jes/issues/detail?id=53