Port details on branch 2022Q2 |
- p5-Image-Size Perl5 module to determine the size of images in several common formats
- 3.300 graphics =33 3.300Version of this port present on the latest quarterly branch.
- Maintainer: tolid@tolid.eu.org
- Port Added: unknown
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: p5-HTML-Tagset, p5-HTML-Parser, p5-libwww, libiconv, gmake
- Also Listed In: perl5 www
- License: ART20 LGPL21
- WWW:
- https://metacpan.org/release/Image-Size
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Image-Size>0:graphics/p5-Image-Size
- To install the port:
- cd /usr/ports/graphics/p5-Image-Size/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/p5-Image-Size
- pkg install p5-Image-Size
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Image-Size
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1482741036
SHA256 (Image-Size-3.300.tar.gz) = 53c9b1f86531cde060ee63709d1fda73cabc0cf2d581d29b22b014781b9f026b
SIZE (Image-Size-3.300.tar.gz) = 237954
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- converters/p5-LaTeXML
- print/a2pdf
- textproc/p5-Data-FormValidator
- textproc/p5-ODF-lpOD
- textproc/p5-PDF-FromHTML
- textproc/p5-RTF-Writer
- www/p5-Rose-HTML-Objects
-
Deleted ports which required this port:
- for Run
-
- converters/p5-LaTeXML
- print/a2pdf
- textproc/p5-Data-FormValidator
- textproc/p5-ODF-lpOD
- textproc/p5-PDF-FromHTML
- textproc/p5-RTF-Writer
- www/ljdeps
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- graphics_p5-Image-Size
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|