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

Save image into its image file


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


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.


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.