ClearImage 8 Help
Save Method
See Also  Send Feedback
Inlite.ClearImage Namespace > CiImage Class : Save Method






Save image into its image file

Syntax

Visual Basic (Declaration) 
Public Function Save() As Integer
Visual Basic (Usage)Copy Code
Dim instance As CiImage
Dim value As Integer
 
value = instance.Save()
C# 
public int Save()
Delphi 
public function Save(): Integer; 
JScript 
public function Save() : int;
Managed Extensions for C++ 
public: int Save(); 
C++/CLI 
public:
int Save(); 

Remarks

This method generates an error if Image object is a zone.

Method saves image using format specified in Format property. Some formats are "read-only" and are not supported by this method.

Some formats use lossy compression. Therefore saving image in such format will modify saved image.
Amount of JPEG compression is controlled by JpegQuality parameter.

Not each format supports all CiImage. BitsPerPixel values. Image is converted to the nearest supported BPP prior to saving.
For example Bitonal image is converted to Grayscale prior to saving using JPEG format. Resulting file image might have blocking effect, typical for JPEG lossy compression.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2007-2013. Inlite Research, Inc. All Rights Reserved.