All Projects → lmittmann → ppm

lmittmann / ppm

Licence: MIT License
Package ppm implements a Portable Pixel Map (PPM) image decoder and encoder written in Go.

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to ppm

Rc Engine Sound ESP32
Allows to play vehicle engine sounds on an ESP32. Additional sounds can play in parallel with the engine sound! Controls your lights as well. compatible with SBUS, IBUS, PWM, PPM and SUMD signals.
Stars: ✭ 139 (+595%)
Mutual labels:  ppm
pnm
pbm, pgm, ppm image IO for modern C++ (single header only library)
Stars: ✭ 14 (-30%)
Mutual labels:  ppm
flipnote-player
🎬 Web player and video converter for animations made with Flipnote Studio; an animation app for the Nintendo DSi and 3DS
Stars: ✭ 85 (+325%)
Mutual labels:  ppm
node-poppler
Asynchronous node.js wrapper for the Poppler PDF rendering library
Stars: ✭ 97 (+385%)
Mutual labels:  ppm

Package ppm PkgGoDev Go Report Card

import "github.com/lmittmann/ppm"

Package ppm implements a Portable Pixel Map (PPM) image decoder and encoder. The supported image color model is color.RGBAModel.

The PPM specification is at http://netpbm.sourceforge.net/doc/ppm.html.

func Decode

func Decode(r io.Reader) (image.Image, error)

Decode reads a PPM image from Reader r and returns it as an image.Image.

func DecodeConfig

func DecodeConfig(r io.Reader) (image.Config, error)

DecodeConfig returns the color model and dimensions of a PPM image without decoding the entire image.

func Encode

func Encode(w io.Writer, img image.Image) error

Encode writes the Image img to Writer w in PPM format.

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