moszkva / cgraph
ASCII image generator. Creates ASCII char based image from image.
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/moszkva/cgraph
Requires
- php: >=5.3.0
- ext-gd: *
This package is not auto-updated.
Last update: 2025-10-25 20:41:53 UTC
README
##ASCII image generator##
##Visit generated output## https://github.com/moszkva/cgraph/blob/master/generated_sample.txt
https://packagist.org/packages/moszkva/cgraph
##Installation##
Installation via composer
{
"require-dev": {
"moszkva/cgraph": "dev-master"
}
}
##Usage##
- Open /bin directory
- Configure CGraph.bat file
- Run: CGraph.bat [source-file-path] >> [[dest-file-path]]
##Example##
Run:
CGraph https://raw.github.com/moszkva/cgraph/master/tests/Moszkva/CGraph/Test/resource/test.jpg >> image.txt
##Unit testing##
- If you have internet connection and openssl extension is loaded and directive allow_url_fopen = On, just simply run phpunit in project root.
- Otherwise run: phpunit --exclude-group net