BSD Ports

graphics/py-imagesize 2.0.1 NetBSD

Parses image files' header and returns image size

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
9ca04cb0f6
License
mit
Categories
graphics, python
Package size
37.9 KiB, 187.8 KiB installed

Description

This module analyzes jpeg/jpeg2000/png/gif image header and return image size.

In the other systems

SystemPortVersion
NetBSDgraphics/py-imagesize2.0.1
FreeBSDgraphics/py-imagesize2.0.1
OpenBSDgraphics/py-imagesize2.0.1
DragonFlygraphics/py-imagesize1.4.1_1
MidnightBSDgraphics/py-imagesize1.4.1_2
HardenedBSDgraphics/py-imagesize2.0.1
GhostBSDgraphics/py-imagesize2.0.1

Install

Binary package:

pkgin install py311-imagesize

From pkgsrc:

cd /usr/pkgsrc/graphics/py-imagesize && 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.

RepositoryVersion
NetBSD 10.1 x86_642.0.1
NetBSD 10.1 aarch642.0.0
SmartOS / illumos x86_642.0.1
macOS 15 arm642.0.1

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-imagesize-2.0.1, py313-imagesize-2.0.1, py314-imagesize-2.0.1

Commit history 1

DateCommitCreditsLog message
9ca04cb0f6 adam py-imagesize: updated to 2.0.1
2.0.1 Optimize metadata parsing and HTTP range reads. Fix JPEG2000 box parsing. Accept single-quoted SVG dimensions. Return positive heights for top-down BMP images. Remove the upper Python version cap, migrate packaging to pyproject.toml, and add Python 3.15 CI coverage. Bump the package version to 2.0.1 and add recent feedback contributors to the README.