Skip to content

MakarovCode/AsciiArt

Repository files navigation

AsciiArt

Turn images into Ascii Art

DEMO

The Ascii Art - Heroku Demo Application

Class Gist

Get Gist - Gist for the ruby class

Calling the Class

# First parameter is the full path of the image to convert
# Second parameter is to turn the white like pixels to black
# Third parameter is the size, nil will get you full size image
a = AsciiArt.new "full/path/to/image", true, "100x100"
puts a.convert

# Important for this class to work you must install the gem mini_magick

gem "mini_magick"

HOW TO INSTALL

# 1. Clone the repo

git clone https://github.com/MakarovCode/AsciiArt.git

# 2. Run bundle

bundle

# 3. Run the DB

rails db:create db:migrate db:seed

# Type localhost:3000

About

Turn images into Ascii Art

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published