head	1.28;
access;
symbols
	pkgsrc-2026Q1:1.28.0.2
	pkgsrc-2026Q1-base:1.28
	pkgsrc-2025Q4:1.26.0.2
	pkgsrc-2025Q4-base:1.26
	pkgsrc-2025Q3:1.25.0.2
	pkgsrc-2025Q3-base:1.25
	pkgsrc-2025Q2:1.24.0.2
	pkgsrc-2025Q2-base:1.24
	pkgsrc-2025Q1:1.23.0.2
	pkgsrc-2025Q1-base:1.23
	pkgsrc-2024Q4:1.22.0.2
	pkgsrc-2024Q4-base:1.22
	pkgsrc-2024Q3:1.18.0.2
	pkgsrc-2024Q3-base:1.18
	pkgsrc-2024Q2:1.16.0.2
	pkgsrc-2024Q2-base:1.16
	pkgsrc-2024Q1:1.15.0.2
	pkgsrc-2024Q1-base:1.15
	pkgsrc-2023Q4:1.13.0.4
	pkgsrc-2023Q4-base:1.13
	pkgsrc-2023Q3:1.13.0.2
	pkgsrc-2023Q3-base:1.13
	pkgsrc-2023Q2:1.11.0.2
	pkgsrc-2023Q2-base:1.11
	pkgsrc-2023Q1:1.10.0.10
	pkgsrc-2023Q1-base:1.10
	pkgsrc-2022Q4:1.10.0.8
	pkgsrc-2022Q4-base:1.10
	pkgsrc-2022Q3:1.10.0.6
	pkgsrc-2022Q3-base:1.10
	pkgsrc-2022Q2:1.10.0.4
	pkgsrc-2022Q2-base:1.10
	pkgsrc-2022Q1:1.10.0.2
	pkgsrc-2022Q1-base:1.10
	pkgsrc-2021Q4:1.7.0.2
	pkgsrc-2021Q4-base:1.7
	pkgsrc-2021Q3:1.6.0.2
	pkgsrc-2021Q3-base:1.6
	pkgsrc-2021Q2:1.5.0.8
	pkgsrc-2021Q2-base:1.5
	pkgsrc-2021Q1:1.5.0.6
	pkgsrc-2021Q1-base:1.5
	pkgsrc-2020Q4:1.5.0.4
	pkgsrc-2020Q4-base:1.5
	pkgsrc-2020Q3:1.5.0.2
	pkgsrc-2020Q3-base:1.5
	pkgsrc-2020Q2:1.4.0.2
	pkgsrc-2020Q2-base:1.4
	pkgsrc-2020Q1:1.3.0.2
	pkgsrc-2020Q1-base:1.3
	pkgsrc-2019Q4:1.2.0.8
	pkgsrc-2019Q4-base:1.2
	pkgsrc-2019Q3:1.2.0.4
	pkgsrc-2019Q3-base:1.2
	pkgsrc-2019Q2:1.2.0.2
	pkgsrc-2019Q2-base:1.2
	pkgsrc-2019Q1:1.1.0.6
	pkgsrc-2019Q1-base:1.1
	pkgsrc-2018Q4:1.1.0.4
	pkgsrc-2018Q4-base:1.1
	pkgsrc-2018Q3:1.1.0.2
	pkgsrc-2018Q3-base:1.1;
locks; strict;
comment	@# @;


1.28
date	2026.03.12.10.43.45;	author adam;	state Exp;
branches;
next	1.27;
commitid	2UzH2giuJNMtQFxG;

1.27
date	2025.12.27.08.42.45;	author adam;	state Exp;
branches;
next	1.26;
commitid	DBumVGisrgMpA1oG;

1.26
date	2025.10.09.07.57.42;	author wiz;	state Exp;
branches;
next	1.25;
commitid	t4nMY0Dt3rBjSRdG;

1.25
date	2025.07.03.19.18.06;	author wiz;	state Exp;
branches;
next	1.24;
commitid	VtH4NTLuuL94Nk1G;

1.24
date	2025.04.15.15.17.48;	author adam;	state Exp;
branches;
next	1.23;
commitid	uGdt0wgrLgTd0aRF;

1.23
date	2025.01.20.06.12.16;	author adam;	state Exp;
branches;
next	1.22;
commitid	YSWcShZRoI9nIbGF;

1.22
date	2024.12.03.19.58.56;	author adam;	state Exp;
branches;
next	1.21;
commitid	5aBqgaUvPWjFP5AF;

1.21
date	2024.11.11.07.28.35;	author wiz;	state Exp;
branches;
next	1.20;
commitid	1fBDq3LwS98NncxF;

1.20
date	2024.10.22.12.36.46;	author adam;	state Exp;
branches;
next	1.19;
commitid	XNl2ymQaQiPEJEuF;

1.19
date	2024.10.14.06.45.45;	author wiz;	state Exp;
branches;
next	1.18;
commitid	ynDJEEQamKd33BtF;

1.18
date	2024.08.19.09.20.12;	author adam;	state Exp;
branches;
next	1.17;
commitid	0D7Qm4x2apuJHpmF;

1.17
date	2024.07.03.08.24.31;	author adam;	state Exp;
branches;
next	1.16;
commitid	zCN8vEnxqWfkUmgF;

1.16
date	2024.04.28.18.08.05;	author adam;	state Exp;
branches;
next	1.15;
commitid	TxCb5zr2GqsZfW7F;

1.15
date	2024.02.12.13.54.38;	author adam;	state Exp;
branches;
next	1.14;
commitid	8Kl7xW44wp1Bi9YE;

1.14
date	2024.01.25.16.17.24;	author adam;	state Exp;
branches;
next	1.13;
commitid	yjcz92UVKk1oFQVE;

1.13
date	2023.08.01.23.20.44;	author wiz;	state Exp;
branches;
next	1.12;
commitid	lyjXpsSeA6xpH8zE;

1.12
date	2023.07.01.08.37.36;	author wiz;	state Exp;
branches;
next	1.11;
commitid	OGZpaIgVtdY8O4vE;

1.11
date	2023.04.24.07.07.33;	author adam;	state Exp;
branches;
next	1.10;
commitid	PvZaBLO0B0DKukmE;

1.10
date	2022.01.05.15.41.11;	author wiz;	state Exp;
branches;
next	1.9;
commitid	FQ77UruBIUsgzsnD;

1.9
date	2022.01.04.20.54.05;	author wiz;	state Exp;
branches;
next	1.8;
commitid	CYyhdK9qtoffkmnD;

1.8
date	2021.12.30.13.05.33;	author adam;	state Exp;
branches;
next	1.7;
commitid	w23rFuQ4pTWhUFmD;

1.7
date	2021.11.17.17.27.15;	author adam;	state Exp;
branches;
next	1.6;
commitid	D6bczGlpIyUsJahD;

1.6
date	2021.06.29.08.42.00;	author nia;	state Exp;
branches;
next	1.5;
commitid	D0oUCU0hDExum0ZC;

1.5
date	2020.08.03.09.21.14;	author adam;	state Exp;
branches;
next	1.4;
commitid	akEu8hznW4UwbBiC;

1.4
date	2020.04.27.16.21.53;	author prlw1;	state Exp;
branches;
next	1.3;
commitid	mTKGhDkrqlVJC26C;

1.3
date	2020.01.18.23.32.18;	author rillig;	state Exp;
branches;
next	1.2;
commitid	shGUwZfkr7sleeTB;

1.2
date	2019.06.17.14.52.30;	author adam;	state Exp;
branches;
next	1.1;
commitid	ybgqTbq6Y8z2iyrB;

1.1
date	2018.07.31.11.03.57;	author prlw1;	state Exp;
branches;
next	;
commitid	wNVmx8KwegzylhMA;


desc
@@


1.28
log
@py-imageio: updated to 2.37.3

2.37.3

Bug

Update dependencies

Maint

Bump psf/black (dev dependency) to fix security vulnerability
@
text
@# $NetBSD: Makefile,v 1.27 2025/12/27 08:42:45 adam Exp $

DISTNAME=	imageio-2.37.3
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	graphics python
MASTER_SITES=	${MASTER_SITE_PYPI:=i/imageio/}

MAINTAINER=	prlw1@@cam.ac.uk
HOMEPAGE=	https://imageio.readthedocs.io/
COMMENT=	Python library to read and write images
LICENSE=	2-clause-bsd

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-Pillow>=8.3.2:../../graphics/py-Pillow
DEPENDS+=	${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
TEST_DEPENDS+=	${PYPKGPREFIX}-fsspec-[0-9]*:../../sysutils/py-fsspec
TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	310

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} imageio_download_bin imageio_download_bin-${PYVERSSUFFIX} && \
	${MV} imageio_remove_bin imageio_remove_bin-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.27
log
@py-imageio: updated to 2.37.2

2.37.2

Bug

Gracefully handle reading of invalid EXIF orientation in Pillow plugin
Prevent OverflowError for FPS in pyav plugin

Maint

Allow github actions to push to master in CD
Fix publishing to GH and PyPI in CD
Remove obsolete code for Python <= 3.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2025/10/09 07:57:42 wiz Exp $
d3 1
a3 1
DISTNAME=	imageio-2.37.2
@


1.26
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2025/07/03 19:18:06 wiz Exp $
d3 1
a3 1
DISTNAME=	imageio-2.37.0
a4 1
PKGREVISION=	1
@


1.25
log
@*: py-numpy needs Python >= 3.11 now
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2025/04/15 15:17:48 adam Exp $
d22 1
a22 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.24
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2025/01/20 06:12:16 adam Exp $
d22 2
@


1.23
log
@py-imageio: updated to 2.37.0

2.37.0

Fix

Arr.newbyteorder deprecation in numpy>2.0
Upgrade pyav plugin to support av v14

Feature

Expose bacterial colony standard image
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2024/12/03 19:58:56 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
@


1.22
log
@py-imageio: updated to 2.36.1

2.36.1

Fix failing pillow test
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2024/11/11 07:28:35 wiz Exp $
d3 1
a3 1
DISTNAME=	imageio-2.36.1
@


1.21
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2024/10/22 12:36:46 adam Exp $
d3 1
a3 1
DISTNAME=	imageio-2.36.0
@


1.20
log
@py-imageio: updated to 2.36.0

2.36.0

Fix

Use bytes instead of to_bytes in pyav metadata call

Feature

Remove support for Python 3.8
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2024/10/14 06:45:45 wiz Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.19
log
@*: clean-up after python38 removal
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2024/08/19 09:20:12 adam Exp $
d3 1
a3 1
DISTNAME=	imageio-2.35.1
@


1.18
log
@py-imageio: updated to 2.35.1

v2.35.1

Fix

Remove pinned numpy regression


v2.35.0

Fix

Ensure video stream is closed when closing the pyAV plugin

Feature

Rawpy plugin
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2024/07/03 08:24:31 adam Exp $
a21 2
PYTHON_VERSIONS_INCOMPATIBLE=	27 38

@


1.17
log
@py-imageio: updated to 2.34.2

v2.34.2

Fix

Add support for numpy 2.0

Other

Update actions/checkout and actions/setup-python
Start testing pypy-3.10 and update pypy test runners
Fix duration description in pillow legacy
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2024/04/28 18:08:05 adam Exp $
d3 1
a3 1
DISTNAME=	imageio-2.34.2
@


1.16
log
@py-imageio: updated to 2.34.1

v2.34.1
Fix bug of 1068 that getattr cannot get attribute with index directly
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/02/12 13:54:38 adam Exp $
d3 1
a3 1
DISTNAME=	imageio-2.34.1
@


1.15
log
@py-imageio: updated to 2.34.0

v2.34.0 (2024-02-12)

Feature

Forward constructor kwargs to PyAV
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/01/25 16:17:24 adam Exp $
d3 1
a3 1
DISTNAME=	imageio-2.34.0
@


1.14
log
@py-imageio: updated to 2.33.1

v2.33.1 (2023-12-11)

Fix

Replace mktemp with mkstemp when caching to disk for legacy plugins
Other

Fix grammar in ImportError

v2.33.0 (2023-11-20)

Fix

Update pyav plugin to reflect AV changes
Unpin Pillow and allow versions >=10.1.0

Feature

Support for AVIF image format

v2.32.0 (2023-11-06)

Feature

Add support for HEIF format
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/08/01 23:20:44 wiz Exp $
d3 1
a3 1
DISTNAME=	imageio-2.33.1
a18 1
#TEST_DEPENDS+=	${PYPKGPREFIX}-tifffile-[0-9]*:../../graphics/py-tifffile
@


1.13
log
@*: remove more references to Python 3.7
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/07/01 08:37:36 wiz Exp $
d3 1
a3 1
DISTNAME=	imageio-2.28.0
d13 2
d17 1
a17 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
d19 1
a19 1
TEST_DEPENDS+=	${PYPKGPREFIX}-tifffile-[0-9]*:../../graphics/py-tifffile
a22 2
USE_PKG_RESOURCES=	yes

d30 1
a30 4
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

.include "../../lang/python/egg.mk"
@


1.12
log
@*: restrict py-numpy users to 3.9+ in preparation for update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/04/24 07:07:33 adam Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 37 38
@


1.11
log
@py-imageio: updated to 2.28.0

v2.28.0 (2023-04-24)

Feature

Expose v3 plugins via v2 API
v2.27.0 (2023-03-27)

Fix

Update FreeImage backend to v3.18.0 on Windows
Feature

Add n_images to ImageProperties
v2.26.1 (2023-03-20)

Fix

Consistently apply color palettes by default
Allow ffmpeg filters to terminate iter
Handle unknown video duration in pyav metadata
Other

Remove pypy 3.7 testing and improve CI/CD scripts
Several doc improvements
Add GH Sponsors link (0e13f64)
v2.26.0 (2023-02-27)

Feature

Collection of small improvements to pyav
v2.25.1 (2023-02-13)

Fix

Format hint test doesn't need to establish a connection
Other

Don't build pdfs on RTD
v2.25.0 (2023-01-23)

Feature

Add audio support for ffmpeg writer
v2.24.0 (2023-01-09)

Feature

Tifffile v3
Other

Pin sphinx below v6
v2.23.0 (2022-12-19)

Feature

Add support for Python 3.11
Other

Exclude py3.11 on windows
GitHub Actions add Python 3.11 to the testing
Add migration instructions for as_gray in new pillow plugin.
v2.22.4 (2022-11-07)

Fix

Fix silent failure when writing gray images with explicit color channel using pillow
Ffmpeg supports .h264 extension
Avoid webcam hang on MacOS
Other

Fix typo
Document deprecated format_hint
v2.22.3 (2022-10-31)

Fix

Support compression and compressionargs in tifffile plugin
v2.22.2 (2022-10-16)

Fix

Make legacy FormatManager skip uninstalled plugins
Other

Remove unneeded image_mode references
Remove xcode reference (dead link) (d1c3e5e)
v2.22.1 (2022-10-03)

Fix

Raise ImportError when iio-ffmpeg is missing
Other

EXR spec
Remove stale funding platform (f428953)
v2.22.0 (2022-09-19)

Feature

Pyav API for procedural video writing
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/01/05 15:41:11 wiz Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 # py-numpy
@


1.10
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2022/01/04 20:54:05 wiz Exp $
d3 1
a3 1
DISTNAME=	imageio-2.10.5
a4 1
PKGREVISION=	2
d16 1
d19 1
a19 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 # py-numpy
d23 1
a23 5
USE_LANGUAGES=	# none

post-extract:
	cd ${WRKSRC}/imageio/resources && \
	${CHMOD} 644 shipped_resources_go_here images/*
@


1.9
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2021/12/30 13:05:33 adam Exp $
d5 1
a5 1
PKGREVISION=	1
d21 2
@


1.8
log
@Forget about Python 3.6
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2021/11/17 17:27:15 adam Exp $
d5 1
@


1.7
log
@py-imageio: updated to 2.10.5

v2.10.5 (2021-11-17)

Fix

Resolve regression on imageJ TIFF hyperstacks


v2.10.4 (2021-11-13)

Fix

Consistently handle file opening/closing

Documentation

Reorder getting started menu



v2.10.3 (2021-11-06)

Fix

Fix file extension bug when filename contains '#'.



v2.10.2 (2021-11-05)

Fix

Allow devices above in ffmpeg

Documentation

Align README.md with new docs


v2.10.1 (2021-10-27)

Fix

Install ImageIO dependencies during release wheel build


v2.10.0 (2021-10-27)

Feature

Allow pillow to write/encode to byte strings
Add CD pipeline
Fail PIL write if extension isnt supported (0dc33d3)
Make imopen use core.Request (c51fdb0)

Fix

Bump pillow to 8.3.2
Undo previous commit (f4c2e74)
Bump required pillow version (1a4456c)
Avoid pillow 8.3.0
Close request if no backend was found (1f8ff6b)
Introduce InitializationError (974fdc5)
Linting (e25f06f)
Merge master into feature (6576783)
Instantiate plugins once (081f3e6)
Make FITS the preferred plugin for FITS files
Remove compromised token
Get images from imageio not firefoxmetzger (9da8339)
Throw-away requests for get_reader/get_writer (cf83968)
Black + flake8 (53ed8d8)
Test mvolread with mvol image (3a03d26)
Investigate pypy failure (9d63acc)
Remove dublicate checks (7148fa9)
Remove dublicate code (9a99417)
Flake8 + black (42a02ed)
Raise error for invalud modes in py3.6 (c91ae9c)
Black + flake8 (abe7199)
Pillow changed gif reading. updating test (2ebe936)
Flake8 (6debb11)
Blackify (6676a62)
New black formatting rules
Merge master into branch (edad86f)
Make Request.Mode an enum
Fix highlighting of installation command
Remove double import (388e57d)
Merge master into v3.0.0 (7443ffd)

Documentation

Refactor plugin docs
Fix typo
Fixed Typo
Update DOI
Added missing docstring to function (6625430)
Clarify missing method (2fd5116)
Update Website Link
Polish imopen docstrings (7052cd8)
Clarify documentation on .tif handling
Add repo location to developer instructions
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2021/06/29 08:42:00 nia Exp $
d18 1
a18 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 36 # py-numpy
@


1.6
log
@py-numpy: "Python version >= 3.7 required."
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2020/08/03 09:21:14 adam Exp $
d3 1
a3 1
DISTNAME=	imageio-2.9.0
d9 1
a9 1
HOMEPAGE=	https://imageio.github.io/
d13 1
a13 1
DEPENDS+=	${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
d16 1
d18 1
a18 2
PYTHON_VERSIONS_INCOMPATIBLE=	27
PYTHON_VERSIONS_INCOMPATIBLE+=	36	# py-numpy
d32 1
a32 1
	cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
@


1.5
log
@py-imageio: updated to 2.9.0

2.9.0:

Fixed
More robust loading of FEI SEM data.
Fix webcam not working on Win10.

Added
Add a few standard images useful to 3D visualization.
The timeout used in HTTP requests can now be set with an environment variable.
The DICOM plugin can now used gdcm for compressed transfer formats.
Better support for itk/sitk plugins.
Test coverage and CI for ARM.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2020/04/27 16:21:53 prlw1 Exp $
d18 1
@


1.4
log
@Update py-imageio to 2.8.0

Highlights:
- Add support for compressed FITS images
- Fix security vulnerability rlt dcmjpeg code path (#483)
- delete py2 compat code
- remove avbin support (#511)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2020/01/18 23:32:18 rillig Exp $
d3 1
a3 1
DISTNAME=	imageio-2.8.0
@


1.3
log
@all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2019/06/17 14:52:30 adam Exp $
d3 1
a3 1
DISTNAME=	imageio-2.5.0
d17 1
a17 4
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
DEPENDS+=	${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures
.endif
d21 4
@


1.2
log
@py-imageio: updated to 2.5.0

Version 2.5.0:
The ffmpeg plugin has been refactored:
The core has been moved to a new library: imageio-ffmpeg.
That library provides platform-specific wheels that includes ffmpeg, so just pip install imageio-ffmpeg instead of the download step.
Note that this new library is py3k only.
Termination of ffmpeg subprocess is now more reliable.
The reader of the ffmpeg plugin now always reports inf as the number of frames. Use reader.count_frames() to get the actual number, or estimate it from the fps and duration in the meta data.
Removed CannotReadFrameError.

Other changes:
The avbin plugin has been depreacted and will be removed in a future version.
Imnproved speed for PIL and FFMPEG plugsins by avoiding memory copies.
Update the included tiffile library.
Support for SimpleITK.
Speed up tiffile plugin when writing to something else than a filename.
Fix that writing to a file object would not work for some plugins.
Can now pass image data to the write functions as anything that resolves to a numpy array with a numeric dtype.
One can now read from a memoryview.
Fix error related to paletted BMP with the Pillow plugin.
Improved logging.

Version 2.4.1:
Fix installation issue on flavors of Ubuntu 14.04 /w Python 2.7.
Use np.frombuffer instead of np.fromstring in some cases.

Version 2.4.0:
Renamed Image class to Array and add documentation for this ndarray subclass.
Reading from HTTP and zipfiles has been improved and better documented.
Improvements to reading and writing of Tiff metadata.
Better dealing of tifffile dependencies on Python 2.7.
Reader for the SPE format.
Better termination of FFMPEG when reading from webcam.
FFMPEG support for reading 16bit videos
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2018/07/31 11:03:57 prlw1 Exp $
d9 1
a9 1
HOMEPAGE=	http://imageio.github.io/
@


1.1
log
@Add py-imageio 2.3.0

Note that this used to be part of py-scipy.

Imageio is a Python library that provides an easy interface to read
and write a wide range of image data, including animated images,
video, volumetric data, and scientific formats. It is cross-platform,
runs on Python 2.7 and 3.4+, and is easy to install.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	imageio-2.3.0
d6 1
a6 3
MASTER_SITES=	${MASTER_SITE_GITHUB:=imageio/}
GITHUB_PROJECT=	imageio
GITHUB_TAG=	v${PKGVERSION_NOREV}
d13 8
a20 1
PYTHON_VERSIONS_INCOMPATIBLE=	27
d24 7
a30 2
DEPENDS+=	${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
DEPENDS+=	${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
@

