Portable Network Graphics

Codename: png

Marvin is able to export PNG image files. The PngExport module recognizes the common image export options, and the following special options:

b... Bits/pixel, valid values, and their meanings:
  • 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.
Examples:
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.

Reference

PngExport uses the default Javax ImageIO package to export PNG images.

Do you have a question? Would you like to learn more? Please browse among the related topics on our support forum or search the website. If you want to suggest modifications or improvements to our documentation email our support directly!