jp2a is a command-line utility that converts JPEG images into character-based artwork. It analyses the source image and represents different levels of brightness using text characters of varying visual density.
The resulting images can be displayed directly in a terminal or saved for use in documentation, messages and other text-oriented environments. High-contrast photographs and illustrations with well-defined shapes are particularly suitable for conversion.
jp2a provides controls over the dimensions and appearance of generated artwork. Adjusting the output size and character mapping can significantly affect how recognisable the converted picture becomes.
The application is deliberately focused on JPEG conversion rather than providing a general-purpose image editor. Its straightforward command-line interface also makes it suitable for scripts that need to generate text-based representations of pictures.
This is free and open source software.
Key Features
- Converts JPEG images into ASCII character artwork.
- Controls the width and height of generated images.
- Supports custom character sets for representing brightness.
- Allows the character mapping to be inverted.
- Provides brightness and contrast adjustments.
- Supports grayscale image conversion.
- Generates plain-text and HTML output.
- Processes remote images when compiled with network support.
- Controls the aspect ratio of converted artwork.
- Supports command-line processing of multiple image sources.
Website: github.com/cslarsen/jp2a
Support:
Developer: Christian Stigen Larsen
License: GNU General Public License v2.0

jp2a is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| ASCII Art Tools | |
|---|---|
| gif-for-cli | Convert media to animated ASCII art |
| ASCIIQuarium | Embrace marine life from the terminal with beautiful ASCII art |
| Calligraphy | Converts short texts into large, imposing banners |
| CMatrix | Terminal based “The Matrix” |
| Diagon | Transforms markdown-style expression into an ascii-art representation |
| Steam Locomotive | C program written in 295 lines. It's harmless fun |
| boxes | ASCII box drawing |
| Durdraw | ASCII, Unicode and ANSI art editor |
| oh-my-logo | Creates colourful ASCII art logos with gradient effects |
| FIGlet | Make large letters out of ordinary screen characters |
| pipes.sh | Animated pipes terminal screensaver |
| asciify | Turn images into attractive ASCII art |
| lolcat | Rainbows and unicorns |
| Artem | Convert images to ASCII art |
| TOIlet | Similar in many ways to FIGlet with additional features |
| textdraw | Draw geometric figures and text |
| PyBonsai | Generates procedural ASCII art trees |
| No More Secrets | Recreates the data decryption effect seen in the 1992 film Sneakers |
| Letterpress | Converts your images into a picture made up of ASCII characters |
| draw | Simple drawing tool for the terminal |
| Bit | Interactive terminal designer for ANSI logos and bitmap text |
| ASCII Art Converter | Converts images into ASCII art |
| cbonsai | Generate bonsai trees |
| cadubi | Creative ASCII drawing utility |
| cacafire | Color ASCII Fire |
| cowsay | Generates ASCII pictures of a cow with a message in a speech bubble |
| Mezzotone | Convert images into ASCII art |
| img2ascii | Command-line tool for converting images to ASCII art |
| gti | Typo-based curio inspired by Steam Locomotive |
| ctree | Christmas tree on your terminal |
| ASCII Draw | Sketch anything using characters |
| Ansizalizer | Converts images into colourful ANSI art with live previews |
| catspeak | Like cowsay but catty |
| charmascii | Generates stylised ASCII art text with fonts and borders |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.