ASCII

Convert images to ASCII art using a simple interface.

View on GitHub

Usage


      import { Ascii } from "@/components/ascii";
      <Ascii src="/path/to/image.jpg" width={80} />
    

Props

NameTypeRequiredDefaultDescription
srcstringYes-The source path or URL of the image to convert.
widthnumberNo80Width of the ASCII output in characters.
invertbooleanNofalseInvert the ASCII color mapping.

Example


        <Ascii src="/images/cat.jpg" width={100} invert />
      
...ASCII ART PREVIEW...

Tags

imageasciiutilityconverter