Convert images to ASCII art using a simple interface.
View on GitHubimport { Ascii } from "@/components/ascii"; <Ascii src="/path/to/image.jpg" width={80} />
Name | Type | Required | Default | Description |
---|---|---|---|---|
src | string | Yes | - | The source path or URL of the image to convert. |
width | number | No | 80 | Width of the ASCII output in characters. |
invert | boolean | No | false | Invert the ASCII color mapping. |
<Ascii src="/images/cat.jpg" width={100} invert />
...ASCII ART PREVIEW...