All Projects β†’ image-js β†’ fast-png

image-js / fast-png

Licence: MIT license
PNG image decoder and encoder written entirely in JavaScript

Programming Languages

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

Projects that are alternatives of or similar to fast-png

imagezero
Fast Lossless Color Image Compression Library
Stars: ✭ 49 (-80.16%)
Mutual labels:  image-decoder, image-encoder
pixl
πŸš€ Lightweight image processing library in C++11
Stars: ✭ 31 (-87.45%)
Mutual labels:  png
imagecodecs
Image transformation, compression, and decompression codecs. Forked from https://pypi.org/project/imagecodecs
Stars: ✭ 56 (-77.33%)
Mutual labels:  png
ICNS2ICO
ICNS2ICO lets you easily convert icons from the Apple's ICNS format to the Windows ICO format.
Stars: ✭ 17 (-93.12%)
Mutual labels:  png
3dn-bip
A Python library for Blender addons. Blazingly fast preview loads in Blender. Images of arbitrary size. bpy.utils.previews drop-in replacement.
Stars: ✭ 41 (-83.4%)
Mutual labels:  png
nimPNG
PNG (Portable Network Graphics) decoder and encoder written in Nim
Stars: ✭ 81 (-67.21%)
Mutual labels:  png
oculante
A minimalistic crossplatform image viewer written in rust
Stars: ✭ 169 (-31.58%)
Mutual labels:  png
png
πŸ–ΌA full-featured PNG decoder and encoder.
Stars: ✭ 64 (-74.09%)
Mutual labels:  png
saveddit
Bulk Downloader for Reddit
Stars: ✭ 130 (-47.37%)
Mutual labels:  png
png pong
A pure Rust PNG image decoder and encoder based on lodepng.
Stars: ✭ 21 (-91.5%)
Mutual labels:  png
StbSharp
C# port of the famous C framework
Stars: ✭ 62 (-74.9%)
Mutual labels:  png
r6operators
r6operators is a collection of high-quality vectorized Rainbow Six: Siege Operator icons & metadata for Node.js
Stars: ✭ 75 (-69.64%)
Mutual labels:  png
sail
The missing small and fast image decoding library for humans (not for machines) β›΅ https://sail.software
Stars: ✭ 206 (-16.6%)
Mutual labels:  png
public
Some public files that I can link to: icons, screenshots, etc.
Stars: ✭ 29 (-88.26%)
Mutual labels:  png
jimp-compact
✏️ Lightweight version of Jimp -- An image processing library written entirely in JavaScript for Node.js
Stars: ✭ 55 (-77.73%)
Mutual labels:  png
xaringanBuilder
An R package for building xaringan slides into multiple outputs, including html, pdf, png, gif, pptx, and mp4.
Stars: ✭ 157 (-36.44%)
Mutual labels:  png
dom-to-image-more
Generates an image from a DOM node using HTML5 canvas
Stars: ✭ 231 (-6.48%)
Mutual labels:  png
documentspark
πŸ’– DocumentSpark - Simple secure document viewing server. Converts a document to a picture of its pages. Content disarm and reconstruction. CDR. Formerly p2. The CDR solution for ViewFinder remote browser.
Stars: ✭ 211 (-14.57%)
Mutual labels:  png
InMangaKindle
Descarga manga en espaΓ±ol en diferentes formatos (PNG, PDF, EPUB, MOBI)
Stars: ✭ 43 (-82.59%)
Mutual labels:  png
flag-icons
A beautiful svg + png + sass + css collection of 261 flags.
Stars: ✭ 61 (-75.3%)
Mutual labels:  png

fast-png

PNG image decoder and encoder written entirely in JavaScript.

Zakodium logo

Maintained by Zakodium

NPM version build status npm download

Installation

$ npm install --save fast-png

Usage

decode(png[, options])

Arguments

  • png - A TypedArray or Buffer that contains the PNG data.
  • options - An object of options

Options

  • checkCrc - If set to true, the CRC will be checked for each chunk and an error will be thrown in case it's wrong (default: false).

encode(image)

Arguments

  • png - An object representing the image. You can pass an ImageData from the Canvas API or an object with the following properties:
    • width - The width of the image
    • height - The height of the image
    • data - An array or TypedArray with the image data
    • depth - A number indicating the color depth (only 8 and 16 are supported now). Defaults to 8.
    • channels - Number of channels, including alpha (1, 2, 3 and 4 are supported). Defaults to 4.

PNG standard

Spec can be found at: https://www.w3.org/TR/PNG/

License

MIT

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