We use cookies to provide you with the best experience and functionality on our website. By continuing to use the site, you are agreeing to our use of cookies.   

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

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.

Search this site with Bing:
| Home | Shop | Download | E-Mail | Datenschutz | Imprint | Version 6.2.0 |
Web DesignszBubble 3.0.6.294
Web design & developement:
www.frank-horn.com

Copyright ©
Frank HornActiveBarcode Generator App
Web design
Documentation
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.