fastpng: Read and Write PNG Files with Configurable Decoder/Encoder Options

Read and write PNG images with arrays, rasters, native rasters, numeric arrays, integer arrays, raw vectors and indexed values. This PNG encoder exposes configurable internal options enabling the user to select a speed-size tradeoff. For example, disabling compression can speed up writing PNG by a factor of 50. Multiple image formats are supported including raster, native rasters, and integer and numeric arrays at color depths of 1, 2, 3 or 4. 16-bit images are also supported. This implementation uses the 'libspng' 'C' library which is available from <https://github.com/randy408/libspng/>.

Version: 0.1.5
Depends: R (≥ 2.10)
Suggests: knitr, png, rmarkdown, testthat (≥ 3.0.0)
Published: 2024-09-04
DOI: 10.32614/CRAN.package.fastpng
Author: Mike Cheng [aut, cre, cph], Randy408 [aut, cph] (Author of bundled libspng), The PNG Reference Library Authors [aut, cph], Cosmin Truta [cph] (SSE2 optimised filter functions, NEON optimised filter functions, NEON optimised palette expansion functions), Glenn Randers-Pehrson [cph] (SSE2 optimised filter functions), Andreas Dilger [cph], Guy Eric Schalnat [cph], Mike Klein [ctb] (SSE2 optimised filter functions), Matt Sarett [ctb] (SSE2 optimised filter functions), James Yu [ctb] (NEON optimised filter functions), Mars Rullgard [ctb] (NEON optimised filter functions), Arm Holdings [cph] (NEON optimised palette expansion functions), Richard Townsend [ctb] (NEON optimised palette expansion functions)
Maintainer: Mike Cheng <mikefc at coolbutuseless.com>
BugReports: https://github.com/coolbutuseless/fastpng/issues
License: MIT + file LICENSE
Copyright: The included 'libspng' code is Copyright (c) 2018-2023, Randy <randy408@protonmail.com>. Sections within the 'libspng' code are derived from 'libpng' and copyright attributed to those authors. See 'COPYRIGHTS' for license information and full attribution of all copyrighted sections of code.
fastpng copyright details
URL: https://github.com/coolbutuseless/fastpng
NeedsCompilation: yes
Language: en-AU
Materials: NEWS
CRAN checks: fastpng results

Documentation:

Reference manual: fastpng.pdf
Vignettes: Overview (source, R code)

Downloads:

Package source: fastpng_0.1.5.tar.gz
Windows binaries: r-devel: fastpng_0.1.5.zip, r-release: fastpng_0.1.5.zip, r-oldrel: fastpng_0.1.5.zip
macOS binaries: r-release (arm64): fastpng_0.1.5.tgz, r-oldrel (arm64): fastpng_0.1.5.tgz, r-release (x86_64): fastpng_0.1.5.tgz, r-oldrel (x86_64): fastpng_0.1.5.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fastpng to link to this page.