Back to the main page

The most frequently used functions are marked with sign.

Raster functions
 ApplyPalette
   Changes the image in the active imagespace, so the image will match the defined palette.
Blur
   Blurs image
BuildPalette
   Makes paletted image the most closely matching true color original
Brightness
   Adjusts image brightness
Contrast
   Adjusts image contrast
CreateMask
   Creates a mask from active imagespace
GrayScale
   Performs grayscaling image
Invert
   Inverts colors in the image
MaskCopy
   Copies image from one imagespace over other imagespace applying mask as transparency factor
Sharpen
   Sharpens image
Stretch
   Performs a transfer and stretching of the data corresponding to a rectangle of pixels from the active imagespace into a inactive imagespace
 TransparentCopy
   Performs a transfer of the data corresponding to a rectangle of pixels from the active imagespace into a inactive imagespace making some colors transparent and semitransparent


Drawing functions
Arc
   Draws an elliptical arc
Chord
   Draws a chord (a region bounded by the intersection of an ellipse and a line segment)
CreateBrush
   Creates a brush for shapes filling that has the specified style, color, and pattern
CreateImage
   Creates primary imagespace
CreateFont
   Creates a font that has specific characteristics
CreatePen
   Creates a pen that has the specified style, width, and color. The pen is used to draw lines and curves
Curve
   Draws curve line passing through all specified points
FormatText
   Draws formatted text in the specified rectangle
GetPixel
   Gets the color of pixel at the specified coordinates
GetTextDimensions
   Obtains size of bounding rectangle of the text string, using the currently created font
GradientRect
   Fills the rectangular area by gradient changed colors (fountain fill)
Ellipse
   Draws an ellipse
ExtFloodFill
   Fills an area of the image with the current brush
FillRect
   Fills a rectangle using the current brush
Flip
   Flips the image
Line,VBALine
   Draws a line using current pen
Pie
   Draws a pie
PolyBezier
   Draws one or more Bezier curves
PolyLine
   Draws a series of line segments by connecting the points in the specified array
Rectangle
   Draws a rectangle
RoundRect
   Draws a rectangle with rounded corners
SetBgColor
   Creates a solid brush with given color
SetBkColor
   Sets the current background color to the specified color value
SetBkMode
   Sets the background mix mode
SetBrushImage
   Sets the image for custom brush
SetColor
   Sets the specified color
SetDrawColor
   Creates a solid pen one pixel width with given color
SetGraphicsMode
   Sets the graphics mode for coordinate space transformations
SetPixel
   Sets the pixel at the specified coordinates to the specified color
SetTextAlign
   Sets the text align
SetTextColor
   Sets the text color
SetTransformation
   Sets a two-dimensional linear transformation of the coordinate space
TextOut
   Writes a character string at the specified location, using the currently created font


Image reading and writing
BmpImage
   Writes the image to BMP format
CaptureScreen
   Performs a capture of the data corresponding to a rectangle of pixels from the Windows screen into an active imagespace
ChangePaletteSize
   Changes the size of current image color table
GetImageInfo
   Retrieves extra (Exif, IPTC) information about image file
GetFileDimensions
   Retrieves information about image file and dimensions of the picture
GifImage
   Writes the image to GIF format
GifPartialImage
   Writes the part of image to GIF format
JpegImage
   Writes the whole image or its part to JPEG format
PngImage
   Writes the whole image or its part to PNG format
ReadImage
   Reads an image file in GIF, JPEG, BMP, WMF, PNG, TIFF format
ReadUrl
   Makes image from HTML document
TiffImage
   Writes the image to TIFF format
WbmpImage
   Writes the image to Wireless Bitmap (WBMP) format
WebPalette
   Rebuilds the image according to "orthogonal" palette being used by Web browsers


OLE related functions
CheckObject
   Checks whether the OLE object can be drawn
DrawObject
   Draws an OLE object


Local clipboard operations
InitClipboard
   Initializes additional image buffer
Copy
   Performs a transfer of the data corresponding to a rectangle of pixels from the active imagespace into a inactive imagespace
Resize
   Performs a stretching of the data corresponding to a rectangle of pixels from the active imagespace into a inactive imagespace
Rotate
   Performs a rotation of the image from the active imagespace into a inactive imagespace
SelectClipboard
   Defines whether drawing operations will be performed on the clipboard image or on the main image


Animation functions
TrackAdd
   Adds new frame to animation track
TrackLoop
   Adds a loop marker into animation track
TrackPlay
   Saves the content of animation track into animated GIF


Other methods
Delay
   Pauses script execution for the specified number of seconds
FindInBinary
   Searches for a bytes sequense in binary SAFEARRAY
SetFileTime
   Sets the date and time that a file was created, last accessed, or last modified
ReadBinaryFile
   Reads any binary file into the memory as SAFEARRAY
WriteBinary
   Writes a array of type SAFEARRAY or part of it to the disk file or to string variable


Properties
AdvancedCheck
   Specifies whether the GetFileDimensions and ReadImage functions will works with WMF files
FileStart and FileSize
   Set where the image data are located when the binary safearray is specified as first parameter in GetFileDimensions and ReadImage functions
FontSmoothing
   Specifies the antialiasing effect of font
Resolution
   Specifies image resolution
VectotSizeX and VectorSizeY
   Specifies the horizontal and vertical size of vector (WMF) files, exported into ShotGraph working imagespace



©1998-2003 Mikhail Tchikalov
mtchikalov@usa.com