mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

vis/images/

mg_decode_png.pro


Routines

top mg_decode_png

result = mg_decode_png(stream [, r] [, g] [, b] [, _ref_extra=keywords])

Decodes a PNG byte stream to a 2- or 3-dimensional image array.

Return value

2- or 3-dimensional image array

Parameters

stream in required type=bytarr

PNG byte stream

r out optional type=bytarr(256)

set to a named variable to get the red component of any colors in a associated color table

g out optional type=bytarr(256)

set to a named variable to get the green component of any colors in a associated color table

b out optional type=bytarr(256)

set to a named variable to get the blue component of any colors in a associated color table

Keywords

_ref_extra in out optional type=keywords

keywords to READ_PNG

File attributes

Modification date: Wed May 14 15:07:15 2014
Lines: 10
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.