graphics/gd 2.3.3,1 MidnightBSD
Graphics library for fast creation of images
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- graphics
Description
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, GIF or JPEG file. This is particularly useful in World Wide Web applications, where PNG, GIF and JPEG are three of the formats accepted for inline images by most browsers.
gd does not provide for every possible desirable graphics operation, 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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | graphics/gd | 2.3.3,1 |
| FreeBSD | graphics/gd | 2.3.3_13,1 |
| OpenBSD | graphics/gd | 2.3.3 |
| NetBSD | graphics/gd | 2.3.3nb18 |
| DragonFly | graphics/gd | 2.3.3_13,1 |
| HardenedBSD | graphics/gd | 2.3.3_13,1 |
| GhostBSD | graphics/gd | 2.3.3_13,1 |
| OPNsense | graphics/gd | 2.3.3_13,1 |
Install
Binary package:
mport install libgd
From mports:
cd /usr/mports/graphics/gd && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libgd>0:graphics/gd
LIB_DEPENDS= libgd.so:graphics/gd
Dependencies
Configuration
Options name: graphics_libgd
| Option | Default | Description |
|---|---|---|
| AVIF | off | |
| FONTCONFIG | on | |
| FREETYPE | on | |
| HEIF | off | |
| ICONV | on | |
| JPEG | on | |
| LIQ | off | libimagequant color conversion support |
| PNG | on | |
| RAQM | off | Raqm text layout support |
| THREADS | off | |
| TIFF | on | |
| WEBP | on | |
| XPM | off |
- USES
- cpe tar:xz pkgconfig pathfix libtool:keepla autoreconf shebangfix
- Service scripts
- none
- Conflicts with
- libgd ??-libgd
Files
pkg-plist 33
- bin/annotate
- bin/bdftogd
- bin/gd2copypal
- bin/gd2togif
- bin/gd2topng
- bin/gdcmpgif
- bin/gdlib-config
- bin/gdparttopng
- bin/gdtopng
- bin/giftogd2
- bin/pngtogd
- bin/pngtogd2
- bin/webpng
- include/gd.h
- include/gd_color_map.h
- include/gd_errors.h
- include/gd_io.h
- include/gd_io_stream.h
- include/gdcache.h
- include/gdfontg.h
- include/gdfontl.h
- include/gdfontmb.h
- include/gdfonts.h
- include/gdfontt.h
- include/gdfx.h
- include/gdhelpers.h
- include/gdpp.h
- lib/libgd.a
- lib/libgd.la
- lib/libgd.so
- lib/libgd.so.6
- lib/libgd.so.6.0.11
- libdata/pkgconfig/gdlib.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| libgd-2.3.3.tar.xz | 2.809056e+06 | 3fe822ece20796060af63b7c60acb151e5844204d289da0ce08f8fdf131e5a61 |
Master sites 1
- https://github.com/libgd/libgd/releases/download/gd-2.3.3/