vis/images/
mg_encode_png.pro
Routines
top mg_encode_png
result = mg_encode_png(im [, r] [, g] [, b] [, _extra=keywords])
Create a PNG byte stream of a 2- or 3-dimensional image.
Return value
bytarr
Parameters
- im in required type=bytarr
2- or 3-dimensional image
- r in optional type=bytarr(256)
the red component of any colors in a associated color table
- g in optional type=bytarr(256)
the green component of any colors in a associated color table
- b in optional type=bytarr(256)
the blue component of any colors in a associated color table
Keywords
- _extra in optional type=keywords
keywords to WRITE_PNG
File attributes
Modification date: | Wed May 14 15:07:15 2014 |
Lines: | 12 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.