PureBasic - Image

Overview

Images are graphics objects which can be displayed in a window or in several gadgets. PureBasic supports beside BMP and ICON (.ico) image types all other image types, which are supported by the ImagePlugin Library.


Windows: transparent ICON images can be used to enable transparency in the gadgets and toolbars images.

Linux: transparent PNG images can be used to enable transparency in the gadgets and toolbars images.

MacOS X: transparent PNG images can be used to enable transparency in the gadgets and toolbars images. The alphachannel is preserved if present, allowing nice 'shadow' like effect.

Command Index

CatchImage
CopyImage
CreateImage
FreeImage
GrabImage
ImageDepth
ImageHeight
ImageID
ImageOutput
ImageWidth
IsImage
LoadImage
ResizeImage
SaveImage

Example

Image.pb

Supported OS

Windows, Linux, MacOS X

Reference Manual - Index