Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

GraphicImage.alphaPreserve()

Configure how the GraphicImage will serialise alpha channel information on save

Syntax

GraphicImage = GraphicImage.alphaPreserve()

Parameters

The 'GraphicImage.alphaPreserve' method takes no parameters

Results

The 'GraphicImage.alphaPreserve' method returns GraphicImage:

Type/Value Range/Length Description
GraphicImage   Returns a reference to 'this'

Remarks

By default full alpha channel information is not preserved when exporting (saving) an image.

Call this method with 'true' will cause all information to preserved in the saved image.

This is particularly useful when manipulating PNG format images with alpha channel information.

Whitebeam release 1.3.36
(loadtime : 12ms)