Codecore Logo
Quick Search
»
Advanced Search »

Image Object

RSS
Represents an image file for a graphics image in one of the following formats: BMP, GIF, EXIF, JPG, PNG and TIFF.


Constructors

Image( Number, Number )

Initializes a new instance of the Image class of the specified size.

Syntax:

Image( Number width, Number height )

Example:


b = new Image( 100, 200 );

Image( String )

Initializes a new instance of the Image class of the specified size.

Syntax:

Image( String filePath )

Example:


b = new Image( "C:\\myimage.png" );

Instance Properties

Hash

Gets the MD5 hash of the byte array representation of the image.

Type: String

Example:


md5 = b.Hash;

Height

Gets the image height.

Type: Number

Example:


h = b.Height;

Length

Gets the length of the byte array representation of the image.

Type: Number

Example:


len = b.Length;

Width

Gets the image width.

Type: Number

Example:


w = b.Width;
Privacy Policy | Conditions Of Use

Copyright ©2014 Codecore Technologies, All rights reserved.