Git Product home page Git Product logo

isabella232 / gdk-pixbuf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gnome/gdk-pixbuf

0.0 0.0 0.0 176.93 MB

Read-only mirror of https://gitlab.gnome.org/GNOME/gdk-pixbuf

Home Page: https://gitlab.gnome.org/GNOME/gdk-pixbuf

License: GNU Lesser General Public License v2.1

Shell 0.60% C 94.85% Perl 0.09% TeX 0.40% Python 0.96% Meson 2.77% Objective-C 0.19% sed 0.03% Batchfile 0.05% Dockerfile 0.06%

gdk-pixbuf's Introduction

GdkPixbuf: Image loading library

GdkPixbuf is a library that loads image data in various formats and stores it as linear buffers in memory. The buffers can then be scaled, composited, modified, saved, or rendered.

GdkPixbuf can load image data encoded in different formats, such as:

  • PNG
  • JPEG
  • TIFF
  • TGA
  • GIF

Additionally, you can write a GdkPixbuf loader module and install it into a well-known location, in order to load a file format.

GdkPixbuf is used by the GTK toolkit for loading graphical assets.

Building GdkPixbuf

Requirements

In order to build GdkPixbuf you will need to have installed:

Depending on the image formats you want to support you will also need:

  • libpng's development files
  • libjpeg's development files
  • libtiff's development files

Additionally, you may need:

Building and installing

You should use Meson to configure GdkPixbuf's build, and depending on the platform you will be able to use Ninja, Visual Studio, or XCode to build the project; typically, on most platforms, you should be able to use the following commands to build and install GdkPixbuf in the default prefix:

$ meson _build .
$ cd _build
$ ninja
$ sudo ninja install

You can use Meson's --prefix argument to control the installation prefix at configuration time.

You can also use meson configure from within the build directory to check the current build configuration, and change its options.

Build options

You can specify the following options in the command line to meson:

  • -Dgtk_doc=true - Build the API reference documentation. This requires gtk-doc to be installed.
  • -Drelocatable=true - Enable application bundle relocation support.

For a complete list of build-time options, see the file meson_options.txt. You can read about Meson options in general in the Meson manual.

Running tests

You can run the test suite by running meson test -C _build, where _build is the build directory you used during the build stage.

License

GdkPixbuf is released under the terms of the GNU Lesser General Public License version 2.1, or, at your option, any later version. See the COPYING file for further details.

gdk-pixbuf's People

Contributors

0xf2 avatar askhl avatar aurisc4 avatar boondocksaints-debug avatar cgwalters avatar changwoo avatar claudep avatar dmustieles avatar dooteo avatar ebassi avatar fanc999-1 avatar federicomenaquintero avatar frandieguez avatar hadess avatar havocp avatar jjardon avatar kelemeng avatar marv-cz avatar mtelka avatar mtrmac avatar ookull avatar owtaylor avatar pesder avatar piotrdrag avatar pwithnall avatar robert-ancell avatar tim-janik avatar tml1024 avatar vaporos avatar yeager avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.