# 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.3nb13`
- Maintainer: adam AT NetBSD.org
- Website: https://libgd.github.io/
- License: none stated
- Package history: cvs, hg, git

## Build dependencies

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

## Runtime dependencies

lang/perl5 graphics/libimagequant graphics/tiff graphics/jpeg fonts/fontconfig fonts/fontconfig graphics/freetype2 graphics/freetype2 graphics/png graphics/libwebp graphics/tiff graphics/jpeg fonts/fontconfig graphics/freetype2 graphics/png graphics/libwebp

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | gd-2.3.3nb12.tgz
NetBSD 10.0 | aarch64 | gd-2.3.3nb12.tgz
NetBSD 10.0 | alpha | gd-2.3.3nb12.tgz
NetBSD 10.0 | earmv6hf | gd-2.3.3nb12.tgz
NetBSD 10.0 | earmv7hf | gd-2.3.3nb12.tgz
NetBSD 10.0 | earmv7hf | gd-2.3.3nb12.tgz
NetBSD 10.0 | i386 | gd-2.3.3nb12.tgz
NetBSD 10.0 | i386 | gd-2.3.3nb12.tgz
NetBSD 10.0 | i386 | gd-2.3.3nb13.tgz
NetBSD 10.0 | m68k | gd-2.3.3nb12.tgz
NetBSD 10.0 | m68k | gd-2.3.3nb12.tgz
NetBSD 10.0 | mips64eb | gd-2.3.3nb12.tgz
NetBSD 10.0 | powerpc | gd-2.3.3nb10.tgz
NetBSD 10.0 | powerpc | gd-2.3.3nb12.tgz
NetBSD 10.0 | sparc64 | gd-2.3.3nb12.tgz
NetBSD 10.0 | x86_64 | gd-2.3.3nb12.tgz
NetBSD 10.0 | x86_64 | gd-2.3.3nb12.tgz
NetBSD 10.0 | x86_64 | gd-2.3.3nb13.tgz
NetBSD 9.0 | aarch64 | gd-2.3.3nb12.tgz
NetBSD 9.0 | alpha | gd-2.3.3nb12.tgz
NetBSD 9.0 | earmv6hf | gd-2.3.3nb12.tgz
NetBSD 9.0 | earmv7hf | gd-2.3.3nb12.tgz
NetBSD 9.0 | earmv7hf | gd-2.3.3nb12.tgz
NetBSD 9.0 | i386 | gd-2.3.3nb13.tgz
NetBSD 9.0 | i386 | gd-2.3.3nb12.tgz
NetBSD 9.0 | i386 | gd-2.3.3nb12.tgz
NetBSD 9.0 | powerpc | gd-2.3.3nb12.tgz
NetBSD 9.0 | powerpc | gd-2.3.3nb10.tgz
NetBSD 9.0 | powerpc | gd-2.3.3nb12.tgz
NetBSD 9.0 | x86_64 | gd-2.3.3nb13.tgz
NetBSD 9.0 | x86_64 | gd-2.3.3nb12.tgz
NetBSD 9.0 | x86_64 | gd-2.3.3nb12.tgz
NetBSD 9.3 | x86_64 | gd-2.3.3nb13.tgz
NetBSD 9.3 | x86_64 | gd-2.3.3nb13.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.
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.