Skip to content

Commit

Permalink
This fixes little mistakes, ups!
Browse files Browse the repository at this point in the history
  • Loading branch information
eliukblau committed Dec 16, 2017
1 parent da11ccd commit 3097a3a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
___ _____ ____
/ _ \/ _/ |/_/ /____ ______ _ Made with love by Eliuk Blau
/ ___// /_> </ __/ -_) __/ ' \ github.com/eliukblau/pixterm
/_/ /___/_/|_|\__/\__/_/ /_/_/_/ v1.2.0
/_/ /___/_/|_|\__/\__/_/ /_/_/_/ v1.2.1
```

# `PIXterm` - *draw images in your ANSI terminal with true color*

**`PIXterm`** ***shows images directly in your terminal***, recreating the pixels through a combination of [ANSI character background color](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors) and the [unicode lower half block element](http://en.wikipedia.org/wiki/Block_Elements). If image has transparency, an optional matte color can be used for background. Also, you can specify a dithering mode; in which case, the image is rendered using block elements with different shades, or using standar ASCII characters in the same way. In dithering mode, the matte color is used to fill background of the blocks o characters.
**`PIXterm`** ***shows images directly in your terminal***, recreating the pixels through a combination of [ANSI character background color](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors) and the [unicode lower half block element](http://en.wikipedia.org/wiki/Block_Elements). If image has transparency, an optional matte color can be used for background. Also, you can specify a dithering mode; in which case, the image is rendered using block elements with different shades, or using standard ASCII characters in the same way. In dithering mode, the matte color is used to fill the background of the blocks or characters.

The conversion process runs fast because it is parallelized in all CPUs.

Expand Down Expand Up @@ -74,6 +74,10 @@ Run this command to automatically download sources and install **`PIXterm`** bin

`go get -u github.com/eliukblau/pixterm`

If you use Arch Linux, `eigengrau` has kindly created an AUR package for **`PIXterm`** (thanks man!). Run this command to install it:

`yaourt -S pixterm-git`

#### About

**`PIXterm`** is a terminal toy application that I made to exercise my skills on Go programming language. If you have not tried this language yet, please give it a try! It's easy, fast and very well organized. You'll not regret :D
Expand Down
2 changes: 1 addition & 1 deletion ansimage/ansimage.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const (

// ANSImage block size in pixels (dithering mode)
const (
BlockSizeY = 16
BlockSizeY = 8
BlockSizeX = 4
)

Expand Down
2 changes: 1 addition & 1 deletion pixterm.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

const (
pxtVersion = "1.2.0"
pxtVersion = "1.2.1"
pxtLogo = `
___ _____ ____
Expand Down
Binary file modified screenshot01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3097a3a

Please sign in to comment.