/imgtochar

redraw an image with char by canvas

Primary LanguageHTML

imgtochar by canvas

###usage

//set["图像大小","字符画大小","前景字符","背景字符","背景颜色值=r+g+b;其中rgb(r,g,b)","canvas大小","图像地址"]
//set["image width","char area","foreground char","background char","background color=r+g+b;rgb is in rgb(r,g,b)","canvas width","img url"]

var set=[200,800,"#"," ",1020,500,"http://tmxk.org/char/r-c.png"];
var r_cimg=new r_cimg(set);
r_cimg.load();

demo