You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
);
Hey! Thank you for using my library. I have added a width parameter to the Cli Command with the new version 0.1.3. This shows the use of the second parameter $width from the CliImage class:
vendor/bin/php-cli-image ci CAPTCHA.jpg --width 30
It shows the successful use of the parameter width in every interpretation:
Can you define your issue and problem a little more precisely? What happens if you enter a lower or higher value than 50?
Activity
bjoern-hempel commentedon May 23, 2024
Hey! Thank you for using my library. I have added a width parameter to the Cli Command with the new version 0.1.3. This shows the use of the second parameter $width from the CliImage class:
It shows the successful use of the parameter width in every interpretation:
Can you define your issue and problem a little more precisely? What happens if you enter a lower or higher value than 50?