Barcode object: Image file options

Supported image file formats

The functions SaveAs, SaveAsBySize and SaveAsBySizeExtended of the ActiveBarcode Control support different image formats and color depths:

Windows Bitmap
Windows Bitmap
Extension: BMP
Format #: 0
1-bit s/w:
8-bit:
16-bit:
24-bit:
32-bit: default
Bitmap graphics
JPEG
JPEG
Extension: JPG, JPEG
Format #: 2
1-bit s/w:
8-bit: gray
16-bit:
24-bit: default
32-bit:
Bitmap graphics
Portable Network Graphic
Portable Network Graphic
Extension: PNG
Format #: 13
1-bit s/w:
8-bit:
16-bit:
24-bit: default
32-bit:
Bitmap graphics
TIFF
TIFF
Extension: TIF
Format #: 18
1-bit s/w:
8-bit:
16-bit:
24-bit: default
32-bit:
Bitmap graphics
Targa
Targa
Extension: TGA
Format #: 17
1-bit s/w:
8-bit:
16-bit:
24-bit: default
32-bit:
Bitmap graphics
GIF
GIF
Extension: GIF
Format #: 25
1-bit s/w:
8-bit: default
16-bit:
24-bit:
32-bit:
Bitmap graphics
Windows Metafile Format
Windows Metafile Format
Extension: WMF
Format #: 101
1-bit s/w:
8-bit:
16-bit:
24-bit: default
32-bit:
Vector graphics
Enhanced Metafile Format
Enhanced Metafile Format
Extension: EMF
Format #: 100
1-bit s/w:
8-bit:
16-bit:
24-bit: default
32-bit:
Vector graphics
Wireless Bitmap
Wireless Bitmap
Extension: WBM, WBMP
Format #: 19
1-bit s/w: default
8-bit:
16-bit:
24-bit:
32-bit:
Bitmap graphics
Portable Bit Map
Portable Bit Map
Extension: PBM
Format #: 7
1-bit s/w: default
8-bit:
16-bit:
24-bit:
32-bit:
Bitmap graphics
Portable Gray Map
Portable Gray Map
Extension: PGM
Format #: 11
1-bit s/w:
8-bit: gray/default
16-bit:
24-bit:
32-bit:
Bitmap graphics
Portable Pixel Map
Portable Pixel Map
Extension: PPM
Format #: 14
1-bit s/w:
8-bit:
16-bit:
24-bit: default
32-bit:
Bitmap graphics
X Pix Map
X Pix Map
Extension: XPM
Format #: 23
1-bit s/w:
8-bit:
16-bit:
24-bit: default
32-bit:
Bitmap graphics

Color depths marked as default are used when you use the SaveAs, SaveAsBySize function or when you set the color depth to zero when using the function SaveAsBySizeExtended.

Color depths for image files

Supported color depths are:

colordepth Description
1 1-bit monochrome, the image will be b/w.
8 8-bit colours or grayscale depending on the image format
16 16-bit TrueColor
24 24-bit TrueColor
32 32-bit TrueColor

Please note that not every color depth is available for every image file format.

Supported flags for image files

You can use the following flags when saving image files:

Image format Flag Description
BMP 0x1 Saves the bitmap as RLE (Run Length Encoded)
JPEG 0x80
0x100
0x200
0x400
0x800
JPEG Qualität "Super" (100%)
JPEG Qualität "Good" (75%)
JPEG Qualität "Normal" (50%)
JPEG Qualität "Average" (25%)
JPEG Qualität "Poor" (10%)

DPI settings

When saving as JPEG, PNG, TIFF or BMP image format you can set the DPI (Dots per Inch), if you are using the SaveAsBySizeExtended method.

| Home | Shop | Download | E-Mail | Privacy Policy | Imprint | Version 6.4.0
Copyright ©
Frank HornActiveBarcode Generator
Web design: szBubble 3.1.11.171
Copyright © Frank Horn
&
Lars SchenkActiveBarcode Object
Web- & server component
Command line
Copyright © Lars Schenk

All trademarks and product names mentioned are the property of their respective owners.



We use cookies to provide you with the best experience and functionality on our website. By using our site you agree to this. read more >