Skip to content

PNG Options

Andreas Fast edited this page Feb 12, 2016 · 7 revisions

Available PNG Options

:width

Integer. The full image's width in pixels.

:height

Integer. The full image's height in pixels.

:background_color

String. The image's background color. Can be name or hex code (#ffffff). Default is transparent.

Example

png_options: {
  width: 500,
  height: 800,
  background_color: 'white'
}
Clone this wiki locally