| View previous topic :: View next topic |
| Author |
Message |
Reno Guest
|
Posted: Sun Apr 11, 2004 10:37 pm Post subject: Removing background "noise" |
|
|
Is there a way to present the random alphanumeric characters on a plain white background, rather than the one displayed at the demo (with the black dots)?
If not, can the intensity of those dots be diminished so they are more pale and thus there is more contrast between the alphanumeric characters and the background?
I ask this because I'm finding it difficult to clearly see these figures, and I imagine others may also have trouble. Putting them on a plain white background (or very pale "noise") would solve the problem.
Thanks very much.... |
|
| Back to top |
|
 |
haris Site Admin
Joined: 22 Aug 2002 Posts: 40
|
Posted: Tue Apr 13, 2004 2:13 am Post subject: |
|
|
There is a way to change the background noise by manually editing the png.py file. To do that go to line 91 and change the instruction rand = random.randint(0,3) by modifying the number 3 to higher (less noise) or lower (more noise) values. Same for line 102.
Let me know if this helps.
Thanks,
Haris |
|
| Back to top |
|
 |
Reno Guest
|
Posted: Tue Apr 13, 2004 10:24 am Post subject: |
|
|
| Thanks very much haris for your prompt response -- sounds like an easy fix. If I run into any problems with any other aspects of your script I'll check back in to let you know.... |
|
| Back to top |
|
 |
|