All Projects → wzshiming → Pic2ascii

wzshiming / Pic2ascii

Licence: mit
Converts a picture and video to ascii art

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Pic2ascii

Ascii Art
A Node.js library for ansi codes, figlet fonts, ascii art and other ASCII graphics
Stars: ✭ 437 (+453.16%)
Mutual labels:  ascii, ascii-art
Ascii Generator
ASCII generator (image to text, image to image, video to video)
Stars: ✭ 939 (+1088.61%)
Mutual labels:  ascii, ascii-art
Ftxui
💻 C++ Functional Terminal User Interface. ❤️
Stars: ✭ 433 (+448.1%)
Mutual labels:  ascii, ascii-art
Figlet Fonts
my collection of figlet / toilet ascii art fonts
Stars: ✭ 393 (+397.47%)
Mutual labels:  ascii, ascii-art
Qr Ascii
A small library to generate QR codes with ascii
Stars: ✭ 63 (-20.25%)
Mutual labels:  ascii, ascii-art
Boxes
Command line ASCII boxes unlimited!
Stars: ✭ 398 (+403.8%)
Mutual labels:  ascii, ascii-art
Cfonts
Sexy fonts for the console
Stars: ✭ 789 (+898.73%)
Mutual labels:  ascii, ascii-art
Csconsoleformat
.NET C# library for advanced formatting of console output [Apache]
Stars: ✭ 296 (+274.68%)
Mutual labels:  ascii, ascii-art
Asciipy
translate images, videos and text to Ascii arts easy
Stars: ✭ 52 (-34.18%)
Mutual labels:  ascii, ascii-art
Ascii Doughnut
Animated spinning doughnut in ASCII
Stars: ✭ 29 (-63.29%)
Mutual labels:  ascii, ascii-art
Art
🎨 ASCII art library for Python
Stars: ✭ 1,026 (+1198.73%)
Mutual labels:  ascii, ascii-art
Ascii Generator.site
Django website for generating ASCII-arts out of images or text 🎨
Stars: ✭ 77 (-2.53%)
Mutual labels:  ascii, ascii-art
Imgtoascii
A JavaScript implementation of a image to Ascii code
Stars: ✭ 331 (+318.99%)
Mutual labels:  ascii, ascii-art
Image To Ascii
Convert images to ASCII art.
Stars: ✭ 35 (-55.7%)
Mutual labels:  ascii, ascii-art
Tart
Tart - draw ASCII art in the terminal with your mouse!
Stars: ✭ 296 (+274.68%)
Mutual labels:  ascii, ascii-art
Diagram
CLI app to convert ASCII arts into hand drawn diagrams.
Stars: ✭ 642 (+712.66%)
Mutual labels:  ascii, ascii-art
lexicon-mono-seq
DOM Text Based Multiple Sequence Alignment Library
Stars: ✭ 15 (-81.01%)
Mutual labels:  ascii, ascii-art
hasciicam
(h)ascii for the masses! html refreshed ascii video cam
Stars: ✭ 63 (-20.25%)
Mutual labels:  ascii, ascii-art
Ascii canvas
ASCII canvas for drawing in console
Stars: ✭ 11 (-86.08%)
Mutual labels:  ascii, ascii-art
Android Img2ascii
Convert image to ascii.
Stars: ✭ 30 (-62.03%)
Mutual labels:  ascii, ascii-art

pic2ascii

Build Status Go Report Card Docker Automated build GitHub license

Requirements

Go version >= 1.5.

FFmpeg version >= 3.X

Download and install

# Not support video
go get -u -v github.com/wzshiming/pic2ascii/cmd/pic2ascii

or

# Support video (Depends ffmpeg)
brew install ffmpeg # Mac
go get -tags=support_video -u -v github.com/wzshiming/pic2ascii/cmd/pic2ascii

or

# In Mac
brew install wzshiming/core/pic2ascii

or

Download releases Not support video (Compile or use docker image if necessary.)

Docker image Support video

Usage

example1

pic2ascii -f ./demo/src.gif -w 80 -h 40 -r

or

docker run --rm -it wzshiming/pic2ascii -f https://github.com/wzshiming/pic2ascii/blob/master/demo/src.gif?raw=true -w 80 -h 40 -r -t gif

src dist

example2

pic2ascii -c "MMWNXK0Okxou=:\"'.  " -f https://avatars0.githubusercontent.com/u/6565744 -w 90 -h 40

or

docker run --rm -it wzshiming/pic2ascii -c "MMWNXK0Okxou=:\"'.  " -f https://avatars0.githubusercontent.com/u/6565744 -w 90 -h 40

pic

  ..  .
kx=::'
MMMMMNo.
MMMMMMMXu
MMMMMMMMMx'
MMMMMMMMMMMXk="..
MMMMMMMMMMMMMMMMXo'
MMMMMMMMMMMMMMMMMMWKko=".                                                             ..':
MMMMMMMMMMMMMMMMMMMMMMMMWK=..                                                    . .uk0NWM
MMMMMMMMMMMMMMMMMMMMMMMMMMMXku"  .                                            '"u0XWMMWMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNKOo".    ..                               .=kXWMMMMMMNNNWM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0ko:''.                         .':x0NMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0x=:'..              ."u0WMMMMMMMMMMMMMNkooOWM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNXK0Okou==:":uxXMMMMMMMMMMMMMWk:''   .xM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMMMMMWk" .     .oM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKu' .       'XM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM=""kMMMMMMMMN..     .    oMM
MMMMMMMMMMMMMMMMMMNXXK00Okkouooooxk0NMMMMMMMMMMMMMMMMMMMMWXko"   'KMMMMMMMk.          'KMM
MMMMMMMMMMMWNKOo:'.         .     . .=kXMMMMMMMMMMMMMNKk:..      :XMMMMMMMO .        'OMMM
MMMMMMNKx"'.....                        '=kNMMWKOxu:'            'OMMMMMMMX.        .uWMMM
MMXk='.  ...=ONNK'                      .  "NMO .                 :KMMMMMMN"     .=xXMMMMM
=".      "okkuOMM0.           ..."=xx='   . oMW=.                  =WMMMMMW:    'KMMMMMMMM
        "XK"..uMMM"          ..xKN0o0M0"    .OMX".                 :NMMMMMM"  . "MMMMMMMMN
       .x:. . kMMMk.       .=0Ku"..uMMM0'.   "NMk.                 "NMMMMMW'  . .oONMMMXx'
    . .o0. .. :NMMx   .   .x0=..  'XMMMN".    kMW=                 :XMMMMMX'      ..:=='
  .  .:0:  . '=WMW"       .=. . ..oMMMNu.    ."MMO.                .kMMMMM0.      .
           .  "==' ..   .    .   .kNWO"    .  'NMN"              . "0MMMMMX
            .:". .===:""'.     '  ..'         .OMW:              .xNMMMMMNu..
          .:u:'  'xO0KKK00k:  .o"             .oWM:            .'OMMMMMMK:.
         'uu"""""::::::"""'.  .ou..           .xMM:           'oXMMMMMMX'
        .uo"0kuooooxxkkO00X0ku":O:            .OMW:           OMMMMMMMW:  .
        .uo'uXKkx=::"""":==o00o=x=.          ."NMX.       . "kMMMMMMMx'
         =x''oXMMMMMMMMMMMMK=.'o='.           xMMo         =NMMMMMMXu.
         .==  .=oxkO000Okx:.':u..           .oWMX:     . "xWMMMMMK=..
.                 .    . ..=:' .            kMMO..     .xMMMMMMXu
0o.                       ''            ."uKMXo.     .=0MMMMMMx'
MMKu.                                 ."kWMNx' .     =WMMMMNk:..
":".                                  ."xo:'         :xkkkx:.
                                       .
       ..         ..      ..       ...

Support formats

  • [x] Ascii
  • [ ] Color (unix like & windows)
  • [x] Format
    • [x] Picture
      • [x] jpeg
      • [x] png
      • [x] bmp
      • [x] tiff
      • [x] webp
      • [x] gif
    • [x] Video (Depends ffmpeg)
      • [x] mp4
      • [x] ts
      • [x] rtmp
      • [x] rtsp
      • [x] flv
      • [x] aac

License

Pouch is licensed under the MIT License. See LICENSE for the full license text.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].