Anonymous user
Grayscale image: Difference between revisions
m
→{{header|REXX}}: changed/added comments and whitespace, changed indentations, optimized/simplified the code for calculations.
(→{{header|PureBasic}}: Corrected code to include ImageToColor() function) |
m (→{{header|REXX}}: changed/added comments and whitespace, changed indentations, optimized/simplified the code for calculations.) |
||
Line 1,479:
=={{header|REXX}}==
<lang rexx>/*REXX program
blue= '00 00 ff'x
width= 60 /* width of the
height= 100 /*height " " " " " */
do
do
r= left(
g=substr(
b= right(
/*stick a fork in it, we're all done. */</lang>
▲ /*stick a fork in it, we're done.*/</lang>
=={{header|Ruby}}==
|