From ef8457e10bab802ff958eff67446331d56d0848f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E4=B8=96=E6=88=90?= Date: Sun, 21 Oct 2018 15:52:52 +0800 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e827837..46f3370 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ Image2ASCII is a class library that converts images into ASCII images and provid ![demo](https://github.com/qeesung/image2ascii/blob/master/example/images/lufei.gif?raw=true) + +![demo](https://github.com/qeesung/image2ascii/blob/master/example/images/baozou.gif?raw=true) + + ## Installation ```bash @@ -41,16 +45,20 @@ convert the image to ascii image with fixed width and height ```bash # width: 100 # height: 30 -image2ascii -f example/images/lufei.jpg -w 100 -g 30 +image2ascii -f example/images/baozou.jpg -w 100 -g 30 ``` +![demo](https://github.com/qeesung/image2ascii/blob/master/example/images/pikaqiu.gif?raw=true) + convert the image to ascii image by ratio ```bash # ratio: 0.3 # width: imageWidth * 0.3 # height: imageHeight * 0.3 -image2ascii -f example/images/lufei.jpg -r 0.3 +image2ascii -f example/images/pikaqiu.jpg -r 0.3 ``` +![demo](https://github.com/qeesung/image2ascii/blob/master/example/images/pikaqiu.gif?raw=true) + convert the image to ascii fit the screen ```bash -- 2.45.2