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

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.

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

NetBSD 10.0aarch64gd-2.3.3nb12.tgz
NetBSD 10.0aarch64gd-2.3.3nb12.tgz
NetBSD 10.0alphagd-2.3.3nb12.tgz
NetBSD 10.0earmv6hfgd-2.3.3nb12.tgz
NetBSD 10.0earmv7hfgd-2.3.3nb12.tgz
NetBSD 10.0earmv7hfgd-2.3.3nb12.tgz
NetBSD 10.0i386gd-2.3.3nb12.tgz
NetBSD 10.0i386gd-2.3.3nb12.tgz
NetBSD 10.0m68kgd-2.3.3nb12.tgz
NetBSD 10.0m68kgd-2.3.3nb12.tgz
NetBSD 10.0mips64ebgd-2.3.3nb12.tgz
NetBSD 10.0powerpcgd-2.3.3nb10.tgz
NetBSD 10.0powerpcgd-2.3.3nb12.tgz
NetBSD 10.0x86_64gd-2.3.3nb12.tgz
NetBSD 10.0x86_64gd-2.3.3nb12.tgz
NetBSD 9.0aarch64gd-2.3.3nb12.tgz
NetBSD 9.0alphagd-2.3.3nb12.tgz
NetBSD 9.0earmgd-2.3.3nb6.tgz
NetBSD 9.0earmv6hfgd-2.3.3nb12.tgz
NetBSD 9.0earmv7hfgd-2.3.3nb12.tgz
NetBSD 9.0earmv7hfgd-2.3.3nb12.tgz
NetBSD 9.0i386gd-2.3.3nb12.tgz
NetBSD 9.0i386gd-2.3.3nb12.tgz
NetBSD 9.0mips64ebgd-2.3.3nb6.tgz
NetBSD 9.0mipselgd-2.3.3nb6.tgz
NetBSD 9.0powerpcgd-2.3.3nb12.tgz
NetBSD 9.0powerpcgd-2.3.3nb10.tgz
NetBSD 9.0sparc64gd-2.3.3nb6.tgz
NetBSD 9.0x86_64gd-2.3.3nb12.tgz
NetBSD 9.0x86_64gd-2.3.3nb12.tgz
NetBSD 9.3x86_64gd-2.3.3nb12.tgz
NetBSD 9.3x86_64gd-2.3.3nb12.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

Enable libimagequant support.
Enable TIFF support.
Enable X11 support.

Known vulnerabilities

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.