graphics/ruby-chunky_png 1.3.15 NetBSD
Pure ruby library for read/write, chunk-level access to PNG
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- graphics, ruby
- Package size
- 663.3 KiB, 1841.3 KiB installed
Description
= Chunky PNG
This library can read and write PNG files. It is written in pure Ruby for maximum portability. Let me rephrase: it does NOT require RMagick or any other memory leaking image library.
== Features * Decodes any image that the PNG standard allows. This includes all standard color modes, all bit depths and all transparency, interlacing and filtering options. * Encodes images supports all color modes (true color, grayscale and indexed) and transparency for all these color modes. The best color mode will be chosen automatically, based on the amount of used colors. * R/W access to the image's pixels. * R/W access to all image metadata that is stored in chunks. * Memory efficient (uses a Fixnum, i.e. 4 or 8 bytes of memory per pixel, depending on the hardware) * Reasonably fast for Ruby standards, by only using integer math and a highly optimized saving routine. * Interoperability with RMagick if you really have to.
Also, have a look at OilyPNG at http://github.com/wvanbergen/oily_png. OilyPNG is a mixin module that implements some of the ChunkyPNG algorithms in C, which provides a massive speed boost to encoding and decoding.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | graphics/ruby-chunky_png | 1.3.15 |
| OpenBSD | graphics/ruby-chunky_png | 1.4.0 |
Install
Binary package:
pkgin install ruby33-chunky_png
From pkgsrc:
cd /usr/pkgsrc/graphics/ruby-chunky_png && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.3.15 |
| NetBSD 10.1 aarch64 | 1.3.15 |
| SmartOS / illumos x86_64 | 1.3.15 |
| macOS 15 arm64 | 1.3.15 |
Dependencies
Run dependencies 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
ruby34-chunky_png-1.3.15,ruby40-chunky_png-1.3.15