Accusoft ImagXpress 12
SaveFile Method
See Also  Send comments on this topic.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : SaveFile Method

Glossary Item Box

Description

Saves the current image to the file specified by the SaveFileName property or to memory if the SaveToBuffer property is true.

Syntax

Visual Basic
Public Sub SaveFile() 

Remarks

Saves the current image to the file specified by the SaveFileName property. If the SaveFileType property is set to zero (default), images are saved in the format of the filename extension specified in the SaveFileName property. The extension consists of up to the last 3 characters following a period in the SaveFileName string. The extension can be upper, lower or mixed case.

The following table lists the image file types that will be saved based on the extension:

Extension File Type

  • BMP: Windows Bitmap

  • CAL: CALS

  • DIB: Windows Device Independent Bitmap

  • DCA or MOD: MO:DCA

  • DCX: Zsoft Multiple Page

  • GIF: CompuServe

  • JB2: JBIG2 File

  • JP2: JPEG 2000

  • JLS: JPEG LS

  • JPG: JFIF Compliant JPEG

  • JIF: JFIF Compliant JPEG

  • LJP: Lossless JPEG

  • PBM: Portable Bitmap

  • PCX: Zsoft PaintBrush

  • PGM: Portable Graymap

  • PIC: Accusoft PIC or enhanced PIC (ePIC)

  • PNG: Portable Network Graphics

  • PPM: Portable Pixmap

  • TIFF: Tagged Image Format

  • TGA: Truevision TARGA

  • WSQ: WSQ Fingerprint File

Images are saved in the same color depth as the current image. Since not all image formats support all color depths, the following exceptions apply:

  • GIF: 24-bit images are saved as 8-bit with an optimized palette.

  • JPEG, JIF, PIC: 1, 4, and 8-bit images are saved as 24-bit

  • TGA: 4-bit images are saved as 8-bit.

  • PPM: All images are stored as 24-bit.

  • PGM: All images are stored as 8-bit.

  • DCX, PBM, CALS, MO:DCA, JBIG2: All images are stored as 1-bit.

See Also

©2013. Accusoft Corporation. All Rights Reserved.