graphics/p5-Image-Size 3.300 FreeBSD
Perl5 module to determine the size of images in several common formats
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART20, LGPL21
- Categories
- graphics, www, perl5
- Package size
- 40.0 KiB, 96.5 KiB installed
Description
Image::Size is a library based on the image-sizing code in the wwwimagesize script, a tool that analyzes HTML files and adds HEIGHT and WIDTH tags to IMG directives. Image::Size has generalized that code to return a raw (X, Y) pair, and included wrappers to pre-format that output into either HTML or a set of attribute pairs suitable for the CGI.pm library by Lincoln Stein. Currently, Image::Size can size images in XPM, XBM, GIF, JPEG and PNG formats.
I did this because my WWW server generates a lot of documents on demand rather than keeping them in static files. These documents not only use directional icons and buttons, but other graphics to annotate and highlight sections of the text. Without size attributes, browsers cannot render the text of a page until the image data is loaded and the size known for layout. This library enables scripts to size their images at run-time and include that as part of the generated HTML. Or for any other utility that uses and manipulates graphics. The idea of the basic interface + wrappers is to not limit the programmer to a certain data format.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | graphics/p5-Image-Size | 3.300 |
| OpenBSD | graphics/p5-Image-Size | 3.300 |
| NetBSD | graphics/p5-Image-Size | 3.300nb12 |
| DragonFly | graphics/p5-Image-Size | 3.300 |
| MidnightBSD | graphics/p5-Image-Size | 3.300 |
Install
Binary package:
pkg install p5-Image-Size
From the ports tree:
cd /usr/ports/graphics/p5-Image-Size/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Image-Size>0:graphics/p5-Image-Size
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 | 3.300 | 3.300 | 3.300 | 3.300 | 3.300 |
| FreeBSD:14:quarterly | 3.300 | 3.300 | n/a | 3.300 | 3.300 |
| FreeBSD:15:latest | 3.300 | 3.300 | n/a | 3.300 | 3.300 |
| FreeBSD:15:quarterly | 3.300 | 3.300 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.300 | 3.300 | 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 1
Run dependencies 1
Required by 20
- converters/p5-LaTeXML
- databases/p5-DBIx-Class-WebForm
- print/a2pdf
- textproc/p5-Data-FormValidator
- textproc/p5-Data-FormValidator-Constraints-DateTime
- textproc/p5-ODF-lpOD
- textproc/p5-ODF-lpOD-Helper
- textproc/p5-PDF-FromHTML
- textproc/p5-RTF-Writer
- www/ljdeps
- www/p5-Bigtop
- www/p5-CGI-Application-Plugin-ValidateRM
- www/p5-Catalyst-Enzyme
- www/p5-Catalyst-Helper-Controller-Scaffold
- www/p5-Catalyst-Plugin-FormValidator
- www/p5-Class-DBI-FromForm
- www/p5-Gantry
- www/p5-HTML-Template-Associate
- www/p5-Rose-HTML-Objects
- www/p5-URI-Title
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- bin/imgsize
- %%SITE_PERL%%/Image/Size.pm
- %%PERL5_MAN1%%/imgsize.1.gz
- %%PERL5_MAN3%%/Image::Size.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Image-Size-3.300.tar.gz | 237954 | 53c9b1f86531cde060ee63709d1fda73cabc0cf2d581d29b22b014781b9f026b |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.