|
|
|||
|
|
| Registered MIME type: image/png PNG raster image format. Commonly used for graphics and photographic images on the web. PNG is an acronym for Portable Network Graphics. Binary format. Stores a single image. Stores color bitmaps at a resolution of 8 or 16 bits per channel. Grayscale images are represented at a depth of 1, 2, 4, 8 or 16 bits per pixel. Supports alpha channels for 8-bit and 16-bit RGB and grayscale images. Has support for color-reduction palettes using up to 256 8-bit RGB colors. Developed in 1995 as an open and patent-free alternative to the GIF format. Published as international standard ISO/IEC 15948:2003 and ISO/IEC 15948:2004. |
| "Elements" | list of elements and options available in this file | |
| "Rules" | full list of rules for each element and option | |
| "Options" | list of rules for options, properties, and settings |
| "Data" | array of color values | |
| "Graphics" | Graphics object representing an image | |
| "GrayLevels" | array of normalized gray-level values |
| "RGBColorArray" | array of RGBColor objects |
Read a PNG file and render it as 2D graphics:
Show the elements that can be imported from this file:
Get the "BitDepth" and "ImageSize" elements:
Export a Mathematica expression as a raster to PNG:
Export arbitrary inline graphics to PNG:
|
| © 2013 Wolfram Research, Inc. |