summaryrefslogtreecommitdiff
path: root/README.md
blob: 1c127305901eaa012b6f72cb64074e79deb2d7ee (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# GDK-Pixbuf - An image loading library

GDK-Pixbuf loads, manipulates, and saves image data from files, memory areas,
and streams.

GDK-Pixbuf supports multiple file and image formats, and can be extended to
support third party loaders.

Once an image is loaded, GDK-Pixbuf exposes it as a memory area in order to
perform pixel-based operations.

## Building GDK-Pixbuf

Once you cloned the Git repository, using:

```sh
$ git clone https://git.gnome.org/browse/gdk-pixbuf
```

You can build GDK-Pixbuf using [Meson][meson-web] and [Ninja][ninja-web]:

```sh
$ meson _build .
$ ninja -C _build
```

You can run the test suite using `mesontest`:

```sh
$ mesontest -C _build
```

And, finally, you can install GDK-Pixbuf using Ninja:

```
$ sudo ninja -C _build install
```

## Dependencies

GDK-Pixbuf depends on [GLib][glib-git] for its basic types. Additionally,
there are dependencies for image loading:

  - libpng
  - libtiff
  - libjpeg
  - libjasper

## Licensing

GDK-Pixbuf is released under the terms of the GNU Library General Public
License, version 2 or, at your option, later versions. See the `COPYING`
file in the project's root directory for further information.

[meson-web]: http://mesonbuild.com
[ninja-web]: https://ninja-build.org
[glib-git]: https://git.gnome.org/browse/glib