All Projects → vivaxy → png

vivaxy / png

Licence: MIT license
🖼A full-featured PNG decoder and encoder.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to png

Bbwebimage
A high performance Swift library for downloading, caching and editing web images asynchronously.
Stars: ✭ 128 (+100%)
Mutual labels:  png, encoder, decoder
png pong
A pure Rust PNG image decoder and encoder based on lodepng.
Stars: ✭ 21 (-67.19%)
Mutual labels:  png, encoder, decoder
Xmlschema
XML Schema validator and data conversion library for Python
Stars: ✭ 201 (+214.06%)
Mutual labels:  encoder, decoder
Codablecsv
Read and write CSV files row-by-row or through Swift's Codable interface.
Stars: ✭ 214 (+234.38%)
Mutual labels:  encoder, decoder
Enmime
MIME mail encoding and decoding package for Go
Stars: ✭ 246 (+284.38%)
Mutual labels:  encoder, decoder
Ffmediatoolkit
FFMediaToolkit is a cross-platform video decoder/encoder library for .NET that uses FFmpeg native libraries. It supports video frames extraction, reading stream metadata and creating videos from bitmaps in any format supported by FFmpeg.
Stars: ✭ 156 (+143.75%)
Mutual labels:  encoder, decoder
Gojay
fastest JSON encoder/decoder with powerful stream API for Golang
Stars: ✭ 2,009 (+3039.06%)
Mutual labels:  encoder, decoder
Codable Diy Kit
A template for creating your own Swift Codable encoders and decoders
Stars: ✭ 207 (+223.44%)
Mutual labels:  encoder, decoder
sms
A Go library for encoding and decoding SMSs
Stars: ✭ 37 (-42.19%)
Mutual labels:  encoder, decoder
rmarsh
Ruby Marshal 4.8 encoder/decoder in Golang. Why? Who knows.
Stars: ✭ 15 (-76.56%)
Mutual labels:  encoder, decoder
Salsanext
Uncertainty-aware Semantic Segmentation of LiDAR Point Clouds for Autonomous Driving
Stars: ✭ 153 (+139.06%)
Mutual labels:  encoder, decoder
logfmt
Package logfmt marshals and unmarshals logfmt messages.
Stars: ✭ 156 (+143.75%)
Mutual labels:  encoder, decoder
Base62
Base62 encoder and decoder for arbitrary data
Stars: ✭ 141 (+120.31%)
Mutual labels:  encoder, decoder
Ks265codec
ks cloud hevc(h265) encoder decoder test and description
Stars: ✭ 192 (+200%)
Mutual labels:  encoder, decoder
Cityengine Sdk
CityEngine is a 3D city modeling software for urban design, visual effects, and VR/AR production. With its C++ SDK you can create plugins and standalone apps capable to execute CityEngine CGA procedural modeling rules.
Stars: ✭ 137 (+114.06%)
Mutual labels:  encoder, decoder
Wav
Battle tested Wav decoder/encoder
Stars: ✭ 139 (+117.19%)
Mutual labels:  encoder, decoder
Swift Html Entities
HTML5 spec-compliant character encoder/decoder for Swift
Stars: ✭ 130 (+103.13%)
Mutual labels:  encoder, decoder
Silk V3 Decoder
kn007's blog
Stars: ✭ 1,832 (+2762.5%)
Mutual labels:  encoder, decoder
BatchEncoder
BatchEncoder is an audio files conversion software.
Stars: ✭ 145 (+126.56%)
Mutual labels:  encoder, decoder
urlpack
Pure JavaScript toolkit for data URLs (MessagePack, Base58 and Base62)
Stars: ✭ 51 (-20.31%)
Mutual labels:  encoder, decoder

png

Build Status NPM Version NPM Downloads MIT License Standard Version Codecov

🖼A full-featured PNG decoder and encoder.

Supports

  • Environments: Browsers and Node.js
  • Chunks: IHDR, PLTE, IDAT, IEND, tRNS, cHRM, gAMA, iCCP, sBIT, sRGB, tEXt, zTXt, iTXt, bKGD, hIST, pHYs, sPLT, tIME
  • Color Types: Greyscale, Truecolour, Indexed-colour (Palette), Greyscale with alpha, Truecolour with alpha
  • Bit Depths: 1, 2, 4, 8, 16
  • Filters: None, Sub, Up, Average, Paeth

Install

yarn add @vivaxy/png or npm i @vivaxy/png

Usage

import * as png from '@vivaxy/png';

const metadata = png.decode(imageBuffer);
const imageBuffer = png.encode(metadata);

See metadata type definition in metadata.ts.

Articles

Prior Art

Project created by create-n.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].