Skip to content

fastpng

0.1.9Package record

Read and Write PNG Files with Configurable Decoder/Encoder Options

0packages dependsuggested by 1
3.4Kdownloads / year
50.9%test coverage
13/13flavors OK

Overview

About

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/.

Changes in 0.1.9
  • Address rchk issues on CRAN

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-19
  • WARNING12 OK, 1 WARNING2026-07-16
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.9
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.1.9Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
6
Examples that run
100%4 run in a plain check
Exported functions with examples
80%
Documented parameters
88%
Return-value docs
80%
Help pages citing references
0%
Vignettes (1)

Downloads

3.4K
CRAN downloads in the past year
Rank #7,424 · ~9/day · ~281/mo
Daily download trend is not available in this view yet.
63030 days
1.2K90 days
3.4K1 year
Compare downloads with other packages →
Also on400 r2u

Repository

20Stars
1Forks
2Open issues
0Open PRs
0Releases
103Commits
1Commit identities
103 commits · Last activity 2026-07-18 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
96
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-06-12 · 182026-07-07 · 20
PracticesBeta

5 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/coolbutuseless/fastpng on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
README.Rmd
Reproducibility and dev environment (2)
data-raw/Dev Container
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing fastpng adds 1 package (1 with compiled code, 38 KB of source tarballs). Heaviest: colorfast 38 KB.

Depends (1)
R >= 4.1.0
Imports (1)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (13)
Author, Maintainer since 0.1.5 (2024), Copyright holder
Author, Copyright holder
Author of bundled libspng
Author, Copyright holder
Contributor
SSE2 optimised filter functions
Contributor
NEON optimised filter functions
Contributor
SSE2 optimised filter functions
Contributor
NEON optimised palette expansion functions
Contributor
NEON optimised filter functions
Copyright holder
NEON optimised palette expansion functions
Copyright holder
Copyright holder
SSE2 optimised filter functions
Copyright holder
Copyright holder
SSE2 optimised filter functions, NEON optimised filter functions, NEON optimised palette expansion functions
Releases (4)

Pick two releases to compare their code metrics.

  • 0.1.9Latest
    record
    2026-07-18 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.8
    record
    2026-02-27 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.7
    record
    2025-01-14 · diff ↗
  • 0.1.5
    record
    2024-09-04
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-09-04
Total releases
4 / 2 yrs
License
MIT + file LICENSE OSI
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.
Minimum R
≥ 4.1.0
Bundled data
2.2 MB / 1 file
Download size
2.8 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("fastpng")
Cheng, M., Arm Holdings, Randy408, The PNG Reference Library Authors, Dilger, A., Klein, M., Randers-Pehrson, G., Rullgard, M., Sarett, M., Schalnat, G. E., Townsend, R., Truta, C., & Yu, J. (2026). fastpng: Read and Write PNG Files with Configurable Decoder/Encoder Options (Version 0.1.9) [Computer software]. https://doi.org/10.32614/CRAN.package.fastpng

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for fastpng version 0.1.9 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy