mdm.ImageAdv


Constructor
The following table lists the constructors for the ImageAdv class

Constructor Description Availability
mdm.ImageAdv() constructor creates empty instance of mdm.ImageAdv obje...

Methods
The following table lists the methods for the ImageAdv class

Method Description Availability
ImageAdv.convertTo24Bit() converts bitmap into 24bit (RGB) color space. The boolean is returned to indicate if operation ...
ImageAdv.convertTo32Bit() This operation converts bitmap into 32bit colorspace (RGBA). Note that no all image formats sup...
ImageAdv.convertToGrayscale() This method effectively removes all color information from 24/32bit color spaced bitmaps and sa...
ImageAdv.flipHorizontal() This method mirrors bitmap along vertical axis (mirror reversal)
ImageAdv.flipVertical() This methods flips bitmap along horizontal axis (mirror-reversing along horizontal axis).
ImageAdv.getPixelColor() this method returns array of integers that denote color value for each channel in RGB color spa...
ImageAdv.loadJpg() This methods loads bitmap from JPG image into memory. If operation succeed isVaid property shou...
ImageAdv.loadPng() This methods loads bitmap from PNG image into memory. If operation succeed isVaid property shou...
ImageAdv.quantize() This method applies quantization operation to bitmap. See Wikipedia article for detailed inform...
ImageAdv.rotate() This operation rotates bitmap using counter-clock-wise rotation (CCW) by degree value.
ImageAdv.saveJpg() This method flushes bitmap from memory into local file using JPEG image format. If file exists ...
ImageAdv.savePng() This method flushes memory stored bitmap into local filesystem image with PNG format. Note that...
ImageAdv.scale() This methods scaled bitmap by ratios provided with widthScale and heightScale values. If negati...
ImageAdv.setPixelColor() This method sets color values for pixel and x/y coordination. If x/y coordination are outside o...

Properties
The following table lists the properties for the ImageAdv class

Method Description Availability
ImageAdv.bpp Returns integer value denoting color depth of...
ImageAdv.colorUsed returns number of colors used in bitmap. NOTE...
ImageAdv.height returns current height of bitmap image repres...
ImageAdv.isGrayscale returns true if bitmap is grayscale bitmap im...
ImageAdv.isValid this property denotes bitmap validity at curr...
ImageAdv.width returns current width of bitmap image represe...