10. Overview PicturesΒΆ
The properties of picture objects can be set with the OBJ functions (see Overview Drawing Objects) and the following functions:
The following picture formats are supported:
Type |
Meaning |
---|---|
GIF |
Graphics Interchange Format. |
PNG |
Portable Network Graphics. |
JPG |
JPEG File Interchange-Format |
BMP, BMZ |
Bitmap and Bitmap compressed. |
WMF, WMZ |
Windows Meta File and Windows Meta File compressed. |
EMF, EMZ |
Enhanced Meta File and Enhanced Meta File compressed. |
Create and Destroy |
|
---|---|
ImageCreate creates a picture object. |
|
ImageUpdate loads the image from the file into the picture object created by ImageCreate. |
|
ImageDestroy destroys a picture object. |
Set |
|
---|---|
ImageMirror reflects the image vertically. |
|
ImageRotate90 rotates the image by 90 degrees clockwise or counterclockwise. |
|
ImageSaveAs saves the picture in its orignal format as a file. |
|
ImageSetFileName sets the file name of the picture and loads the file into the picture object. |
|
ImageSetFrameWidthAndColor sets the line width and color of the picture frame. |
|
ImageSetLinkType sets the link type. |
|
ImageSetProps sets the image properties. |
|
ImageShowFrame shows or hides the frame of the picture. |
Get |
|
---|---|
ImageGetFileName returns the file name of the picture. |
|
ImageGetFrameWidthAndColor returns the line width and color of the picture frame. |
|
ImageGetHeight returns the height in pixel of the given image. |
|
ImageGetLinkType returns the link type. |
|
ImageGetOrgSize returns the original picture size in centimeters. |
|
ImageGetPixelColor returns the color value of a pixel as an RGB value. |
|
ImageGetPixelGray returns the gray value of a pixel. |
|
ImageGetProps gets the image properties. |
|
ImageGetType returns the picture file type. |
|
ImageGetWidth returns the width in pixel of the given image. |
|
ImageIsFrame checks if the picture frame is visible. |
|
ImageSetPixelColor sets the color value of a bitmap pixel of a complete bitmap. |
|
ImageSetPixelGray sets the gray value of a pixel or complete bitmap. |
See also
id-1429196