ChemAxon products are able to export PNG image files. The PngExport module recognizes the common image export options, and the following special options:
Codename | Explanation |
---|---|
b... |
1 - Black and white colors defined with a palette, image data contains 1 bit/pixel 2 - Black, white, light, and dark gray colors defined with a palette, image data contains 2 bits/pixel 4 - 16 base colors defined with a palette, image data contains 2 bits/pixel 8 - 256 colors defined with a palette, image data contains 2 bits/pixel 24 - image data contains 3*8 bits/pixel RGB colors, without palette. 32 - image data contains 3*8 bits/pixel RGB colors, and 8 bits/pixel alpha channel, without palette. |
nosource |
Omits saving of molecule source into image as comment. |
Z... |
Deprecated. Images are being exported with maximum compression level. |
Code | Explanations |
---|---|
png |
Default settings: 200x200 pixels, white background (or black in 3D), maximum compression. |
png:w100,b32,#ffffff00 |
100x100 PNG with yellow background, alpha channel is encoded. |
PNG Home Site PngExport uses the default Javax ImageIO package to export PNG images.