Skip to content

Increase resolution #1

@d47081

Description

@d47081

Hello and thanks for this amazing library!

I'm trying to use it for CLI captcha generation based on this library.

As understand, there is no way to make image smaller or increase the resolution because symbols are hardcoded
But maybe I have missed some trick or the API option

Here is my captcha example, that takes lot of space in terminal:

2024-04-30_04-36 2024-04-30_04-37

I can operate with the width attribute only but no luck to reduce it less than 50 value:

$image = new \Ixnode\PhpCliImage\CliImage(
    $captcha->get(),
    50 // that is min possible value in my case
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions