# graphics/gd - The NetBSD Packages Collection

Graphics library for the dynamic creation of images

    gd is a graphics library. It allows your code to quickly draw images
    complete with lines, arcs, text, multiple colors, cut and paste from
    other images, and flood fills, and write out the result as a .PNG
    file. This is particularly useful in World Wide Web applications,
    where .PNG is one of the formats accepted for inline images by most
    browsers.

    gd is not a paint program. If you are looking for a paint program, you
    are looking in the wrong place. If you are not a programmer, you are
    looking in the wrong place.

    gd does not provide for every possible desirable graphics operation.
    It is not necessary or desirable for gd to become a kitchen-sink
    graphics package, but incorporates most of the commonly requested
    features for an 8-bit 2D package.

- Source version: `gd-2.3.3nb17`
- Maintainer: adam AT NetBSD.org
- Website: https://libgd.github.io/
- License: none stated
- Package history: cvs, hg, git

## Build dependencies

devel/glib2-tools devel/libtool-base pkgtools/mktools devel/pkgconf pkgtools/cwrappers

## Runtime dependencies

lang/perl5 fonts/fontconfig fonts/fontconfig graphics/freetype2 graphics/freetype2 graphics/libimagequant graphics/libjpeg-turbo graphics/libwebp graphics/png graphics/raqm graphics/tiff fonts/fontconfig graphics/freetype2 graphics/libwebp graphics/png graphics/raqm graphics/tiff

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | gd-2.3.3nb17.tgz
NetBSD 10.0 | aarch64 | gd-2.3.3nb17.tgz
NetBSD 10.0 | aarch64eb | gd-2.3.3nb15.tgz
NetBSD 10.0 | alpha | gd-2.3.3nb16.tgz
NetBSD 10.0 | earmv6hf | gd-2.3.3nb17.tgz
NetBSD 10.0 | earmv7hf | gd-2.3.3nb17.tgz
NetBSD 10.0 | earmv7hf | gd-2.3.3nb17.tgz
NetBSD 10.0 | i386 | gd-2.3.3nb17.tgz
NetBSD 10.0 | i386 | gd-2.3.3nb17.tgz
NetBSD 10.0 | powerpc | gd-2.3.3nb15.tgz
NetBSD 10.0 | powerpc | gd-2.3.3nb17.tgz
NetBSD 10.0 | powerpc | gd-2.3.3nb17.tgz
NetBSD 10.0 | sparc64 | gd-2.3.3nb14.tgz
NetBSD 10.0 | sparc64 | gd-2.3.3nb17.tgz
NetBSD 10.0 | x86_64 | gd-2.3.3nb17.tgz
NetBSD 10.0 | x86_64 | gd-2.3.3nb17.tgz
NetBSD 11.0 | aarch64 | gd-2.3.3nb17.tgz
NetBSD 11.0 | aarch64 | gd-2.3.3nb17.tgz
NetBSD 11.0 | aarch64eb | gd-2.3.3nb17.tgz
NetBSD 11.0 | aarch64eb | gd-2.3.3nb17.tgz
NetBSD 11.0 | earmv6hf | gd-2.3.3nb17.tgz
NetBSD 11.0 | earmv7hf | gd-2.3.3nb17.tgz
NetBSD 11.0 | earmv7hf | gd-2.3.3nb17.tgz
NetBSD 11.0 | i386 | gd-2.3.3nb17.tgz
NetBSD 11.0 | i386 | gd-2.3.3nb17.tgz
NetBSD 11.0 | m68k | gd-2.3.3nb17.tgz
NetBSD 11.0 | m68k | gd-2.3.3nb17.tgz
NetBSD 11.0 | x86_64 | gd-2.3.3nb17.tgz
NetBSD 11.0 | x86_64 | gd-2.3.3nb17.tgz
NetBSD 9.0 | earmv6hf | gd-2.3.3nb17.tgz
NetBSD 9.0 | earmv7hf | gd-2.3.3nb17.tgz
NetBSD 9.0 | earmv7hf | gd-2.3.3nb17.tgz
NetBSD 9.0 | i386 | gd-2.3.3nb17.tgz
NetBSD 9.0 | i386 | gd-2.3.3nb17.tgz
NetBSD 9.0 | x86_64 | gd-2.3.3nb17.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

libimagequant
  Enable libimagequant support.
raqm
  Enable complex text layout using raqm.
tiff
  Enable TIFF support.
x11
  Enable X11 support.

## Known vulnerabilities

- a open denial-of-service vulnerability

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.