graphics/tkpng 0.9_1 FreeBSD
PNG support for Tcl/Tk
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- TclTk
- Categories
- graphics, tk
- Package size
- 16.4 KiB, 30.9 KiB installed
Description
This port implements support for loading and using PNG images with Tcl/Tk. Although other extensions such as Img also add support for PNG images, I wanted something that was lightweight, did not depend on libpng, and which would be suitable for inclusion in the Tk core, as Tk does not currently support any image formats natively that take advantage of its internal support for alpha blending, and alpha antialiasing and drop shadows really go a long way toward beautifying Tk applications.
At this time, the package supports reading images from files or binary data. Base64 decoding is supported as of version 0.6. Exporting images to PNG format is not supported yet.
The package supports the full range of color types, channels and bit depths from 1 bit black & white to 16 bit per channel full color with alpha (64 bit RGBA) and interlacing. Ancillary "chunks" such as gamma, color profile, and text fields are ignored, although they are checked at a minimum for correct CRC.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | graphics/tkpng | 0.9_1 |
| OpenBSD | graphics/tkpng | 0.9p2 |
| DragonFly | graphics/tkpng | 0.9_1 |
| MidnightBSD | graphics/tkpng | 0.9_2 |
Install
Binary package:
pkg install tkpng
From the ports tree:
cd /usr/ports/graphics/tkpng/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= tkpng>0:graphics/tkpng
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.9_1 | 0.9_1 | 0.9_1 | 0.9_1 | 0.9_1 |
| FreeBSD:14:quarterly | 0.9_1 | 0.9_1 | n/a | 0.9_1 | 0.9_1 |
| FreeBSD:15:latest | 0.9_1 | 0.9_1 | n/a | 0.9_1 | 0.9_1 |
| FreeBSD:15:quarterly | 0.9_1 | 0.9_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.9_1 | 0.9_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 18
Run dependencies 18
Configuration
No options to configure.
- USES
- tk:tea tar:tgz
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| tkpng0.9.tgz | 127804 | 92f361d4f43c3a0638f85f87af6cef30c63a1896fa59a9220bcfab4852ab10fb |
Master sites 1
- SF
Commit history 0
No commits in the history this site was built from.