graphics/pngwriter 0.7.0_2 FreeBSD
C++ library for creating PNG images
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9fbd787cbf- License
- GPLv2+
- Categories
- graphics, devel
- Package size
- 227.5 KiB, 508.9 KiB installed
Description
The PNGwriter library, which requires libpng, allows you to plot to a 48-bit PNG file, saving it directly to disk. Plotting is as easy as specifying the red, green, and blue values and the x, y coordinates of the pixel. It includes functions for plotting simple geometric shapes (circle, rect, line), reading the colour of a pixel, reading in a whole PNG file (great for image analysis), plotting and reading in HSV colourspace, and many others that might come in handy.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | graphics/pngwriter | 0.7.0_2 |
| DragonFly | graphics/pngwriter | 0.7.0_2 |
| HardenedBSD | graphics/pngwriter | 0.7.0_2 |
| GhostBSD | graphics/pngwriter | 0.7.0_2 |
Install
Binary package:
pkg install pngwriter
From the ports tree:
cd /usr/ports/graphics/pngwriter/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pngwriter>0:graphics/pngwriter
LIB_DEPENDS= libPNGwriter.so:graphics/pngwriter
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.7.0_2 | 0.7.0_2 | 0.7.0_2 | 0.7.0_2 | 0.7.0_2 |
| FreeBSD:14:quarterly | 0.7.0_2 | 0.7.0_2 | n/a | 0.7.0_2 | 0.7.0_2 |
| FreeBSD:15:latest | 0.7.0_2 | 0.7.0_2 | n/a | 0.7.0_2 | 0.7.0_2 |
| FreeBSD:15:quarterly | 0.7.0_2 | 0.7.0_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.7.0_2 | 0.7.0_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 2
libpng.so: graphics/pnglibfreetype.so: print/freetype2
The full lists below include those, and their dependencies in turn.
Build dependencies 18
Run dependencies 3
No port depends on this one.
Configuration
Options name: graphics_pngwriter
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- cmake compiler:c++11-lang cpe
- Service scripts
- none
Message after installing
Files
pkg-plist 6
- include/pngwriter.h
- lib/cmake/PNGwriter/PNGwriterConfig.cmake
- lib/cmake/PNGwriter/PNGwriterConfigVersion.cmake
- lib/cmake/PNGwriter/PNGwriterTargets-.cmake
- lib/cmake/PNGwriter/PNGwriterTargets.cmake
- lib/libPNGwriter.so
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pngwriter-pngwriter-0.7.0_GH0.tar.gz | 570525 | 82d46eef109f434f95eba9cf5908710ae4e75f575fd3858178ad06e800152825 |