This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JForum and the fly likes CAPTCHA image colors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "CAPTCHA image colors" Watch "CAPTCHA image colors" New topic
Author

CAPTCHA image colors

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
CAPTCHA image bgcolor and foreground color, sometimes, dont match
hard to read the code.
Especially those backgrounds with white noise and gradient color makes it harder.

CAPTCHA colors must be controlled with a logic.

IMHO

A sample image is attached.

[originally posted on jforum.net by javadesk]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Why nobody says anything about this topic..

dont u consider that it should be improved.
[originally posted on jforum.net by javadesk]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Please register a entry in the bug tracker: http://www.jforum.net/jira , so we can have your request registered.

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I already registred the subject at Jira.

Here is a proposal:
It will be OK
If u allow the new member to renew the image till something readable comes.

Add and ID in img tag


Then add following link beside image:
Give Me New CAPTCHA

Add following script to refresh image:
<script language="javascript">
function new_captcha(){
document.getElementById("captcha").src= CAPTCHA RENEWER CLASS;
}
</script>
I think captcha runs on a session variable.
Your new class will produce a new session variable and call captcha class again.

Do u think it works??

[originally posted on jforum.net by javadesk]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
I think so. 'Will implement it.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CAPTCHA image colors
 
Similar Threads
Tech Word Game
How to create png image with the pixels array?
captcha image
Please help me with CAPTCHA
Suggestions on colour convertor program