Image.bmpToPngAsync() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Image Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.Image.bmptToPngAsync(inputBmpFilePath:String, outputPngFilePath:String, use256Color:Boolean, transparentColor:String):Void

Parameters
inputBmpFilePath:String - Location of BMP file to be converted

outputPngFilePath:String - Location of png file to be created

use256Color:Boolean - Boolean flag for use 256 color palette (8bit). Set to true will produce an 8bit 256 color PNG, set to false will create a 24bit PNGtransparentColor:String Constant value for transparency color to be used in created PNG. Must be either "white", "black" or "fuchsia".

Returns
Nothing

Description
Converts a BMP image to a PNG image with transparency. Transparent areas on your image can be set to white (#FFFFFF), black (#000000) or fuchsia (#FF00FF)

Notes

Example Code
// Example Needed

mdm.Image Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page