Install this package:
emerge -a media-libs/gd
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask media-libs/gd
Or alternatively:
emerge --autounmask-write -a media-libs/gd
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.3.3-r4 | 8 | ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris | 2/3 |
<pkgmetadata> <maintainer type="project"> <email>codec@gentoo.org</email> <name>Gentoo Codec Project</name> </maintainer> <longdescription> 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. </longdescription> <upstream> <bugs-to>https://github.com/libgd/libgd/issues</bugs-to> <remote-id type="github">libgd/libgd</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p media-libs/gd |
euse -E <flag> -p media-libs/gd |
euse -D <flag> -p media-libs/gd
| Flag | Description | 2.3.3-r4 |
|---|---|---|
| avif | Add AV1 Image Format (AVIF) support | ✓ |
| cpu_flags_x86_sse | Use the SSE instruction set | ✓ |
| fontconfig | Support for configuring and customizing font access via media-libs/fontconfig | ✓ |
| heif | Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image format | ✓ |
| jpeg | Add JPEG image support | ⊕ |
| 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 | ✓ |
| Type | File | Size | Versions |
|---|
| Type | File | Size |
|---|---|---|
| DIST | libgd-2.3.3.tar.xz | 2809056 bytes |