Closed Qmlio closed 1 week ago
Hello, you mean the black upper and bottom margings?
There is a "margin" argument in the "gen_captcha_image" function that you can set to False to avoid this black margins appear in the image:
captcha = CaptchaGen.gen_captcha_image(multicolor=True, margin=False)
Regards
Oh.ok..thanks for the response and clarification
On Sat, Jul 6, 2024, 15:10 Jose @.***> wrote:
Hello, you mean the black upper and bottom margings?
There is a "margin" argument in the "gen_captcha_image" function that you can set to False to avoid this black margins appear in the image:
captcha = CaptchaGen.gen_captcha_image(multicolor=True, margin=False)
Regards
— Reply to this email directly, view it on GitHub https://github.com/J-Rios/multicolorcaptcha/issues/14#issuecomment-2211752368, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVSHJBOYELP4EF4H25RF7LZK7NFFAVCNFSM6AAAAABKOGJFYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRG42TEMZWHA . You are receiving this because you authored the thread.Message ID: @.***>
Greetings, How can i remove the black background from the generated images, i know there are many options out there for cropping but i want to know if its possible to remove it before i resort to other options.![a](https://github.com/J-Rios/multicolorcaptcha/assets/65741732/69fb4948-c0dc-44c2-9b80-9ff16fe161d6)