Userobjectpbimage

Library :     C:\D\PBWLibrarys\Testpbd\pb_image.pbl
Date:          29/10/2004 21.27.48
Comment: 


Specifications, notes, comments on pbimage
///Enables PowerBuilder applications to use graphics 


-allows application programmers to display images
-convert images using the most used formats
-flip, resize, rotate  images
-load and saves icons

THIS SOFTWARE AND THE ACCOMPANYING FILES ARE DISTRIBUTED "AS IS" AND WITHOUT WARRANTIES 




Functions:
ic_iconsfromfileExtract icons of the specified size from file. (use IC_LoadIcon to access extracted icons)
public function long ic_iconsinfile (string filename)Returns the number of icons in a file
ic_loadiconLoad icon (you have to extract the icons before)
ic_saveiconSave image in an icon file
im_brightnessChange image brightness
im_contrastChange image contrast
im_fliphorrFlip image horizontally along the vertical axis
im_flipvertFlip image vertically along the horizontal axis
public function s_imageinfo im_getimageinfo ()Returns s_imageinfo with information about the loaded image
public function s_pixel im_getpixel (integer x1, integer y1)Gets pixel information
im_imagefromfileLoads and image from file
im_imagesaveSaves an image to file
im_maketrasparentMakes specified color trasparent
im_printPrint image
im_printpreviewOpen print preview window
im_resizeimageResize the image (interpolation: Bicubic(1), Bilinear(2))
im_resizeimageResize the image (show a dialog window for rotation parameters)
im_rotateimageRotate the image (interpolation: Bicubic(1), Bilinear(2))
im_rotateimageRotate the image (show a dialog window for rotation parameters)
im_saturationChange image saturation
im_setpixelSet pixel color
im_showbmpRenders image using an object handle ( window, picturebox ecc.).
im_stretchbmpRenders image using an object handle. The image is stretched to fit the destination rectangle.
im_watermaketxtWatermakes an image, add a copyright label

Events:
constructorevent constructor