Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to modify the text style slightly #1

Open
vincenthawke opened this issue Apr 22, 2020 · 0 comments
Open

Trying to modify the text style slightly #1

vincenthawke opened this issue Apr 22, 2020 · 0 comments

Comments

@vincenthawke
Copy link

vincenthawke commented Apr 22, 2020

Hi there, I hope you still remember this repo:) I was playing with it last 2 days, modifying the parameters that go into gimp() and addText().

I am trying to replicate a design of captcha for which I strongly believe it must have been generated with your library. I’ll show an image example: https://prnt.sc/s3x37e

Notice the slight contour differences with number 3 and 5. I was unable to get same style. Can I translate the image a few pixels horizontally as well with the library or should I do that with some other function?

Here is the default function I used:

Captcha captcha = new Captcha.Builder(200, 50)
       .addText(new myNameTextProducer())  // only changed it to get same text for testing
       .addBackground()
       .addNoise()
    // .gimp(new myRippleGimpyRenderer())
       .gimp()
       .addBorder()
       .build();

Many thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant