summaryrefslogtreecommitdiff
path: root/graphics/pixelart/README.md
blob: 471df069b2490cf45ce23e835ef2f37bdfc5f288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
pixelart 🎨 A LaTeX package to draw pixel-art pictures
======================================================

[![Sources](https://img.shields.io/badge/sources-pixelart-brightgreen.svg)](http://framagit.org/spalax/pixelart)
[![CTAN](https://img.shields.io/ctan/v/pixelart.svg)](http://ctan.org/pkg/pixelart)
[![Documentation](https://img.shields.io/badge/doc-pdf-brightgreen.svg)](http://mirrors.ctan.org/graphics/pixelart/pixelart.pdf)

 

![Example](https://framagit.org/spalax/pixelart/raw/master/logo.png)

It defines commands to convert a stream of bits (as characters `0` and `1`) to a
black-and-white picture.

- [Usage and installation instruction](http://mirrors.ctan.org/graphics/pixelart/pixelart.pdf).
- Example: The picture above was produced using the following code.

```latex
\bwpixelart[color=red]{
  0011001100
  0111111110
  1111111111
  1111111111
  1111111111
  0111111110
  0011111100
  0001111000
  0000110000
}
```

License
-------

*Copyright 2018 Louis Paternault*

This work may be distributed and/or modified under the conditions of the LaTeX
Project Public License, either version 1.3 of this license or (at your option)
any later version.

The latest version of this license is in http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of LaTeX version
2005/12/01 or later.