Skip to content

Trying to modify the text style slightly #1

@vincenthawke

Description

@vincenthawke

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions