Apocrypha

gd

Graphics library for fast image creation

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 or JPEG file. This is particularly useful in World Wide Web applications, where PNG and JPEG are two 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, unless you are installing a required library in order to run an application. 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 version 2.0 does include most frequently requested features, including both truecolor and palette images, resampling (smooth resizing of truecolor images) and so forth.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 2.3.3-r4 1 13 h details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvalphaarmhppaloongm68kmipsppcs390sparcx64-macosx64-solaris Committed
2.3.3-r4 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable hppa testing loong testing m68k testing mips testing ppc stable s390 testing sparc testing x64-macos testing x64-solaris testing view · download · history ↗

Use flags of 2.3.3-r4

  • avif Add AV1 Image Format (AVIF) support
  • fontconfig Support for configuring and customizing font access via media-libs/fontconfig
  • +jpeg Add JPEG image support
  • heif Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image format
  • +png Add support for libpng (PNG images)
  • static-libs Build static versions of dynamic libraries as well
  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
  • tiff Add support for the TIFF image format
  • truetype Add support for FreeType and/or FreeType2 fonts
  • webp Add support for the WebP image format
  • xpm Add support for XPM graphics format
  • zlib Add support for zlib compression
9 expansion flags (python targets, ABIs, cpu flags…)
  • cpu_flags_x86_sse
  • abi_x86_32
  • abi_x86_64
  • abi_x86_x32
  • abi_mips_n32
  • abi_mips_n64
  • abi_mips_o32
  • abi_s390_32
  • abi_s390_64

Runtime dependencies of 2.3.3-r4

show 31 lines
avif? (
)
fontconfig? (
)
jpeg? (
)
heif? (
)
png? (
)
tiff? (
)
truetype? (
)
webp? (
)
xpm? (
)
zlib? (
)