7 image parameters, 1 image types – Konica Minolta Darwin VDP Software User Manual

Page 71

Advertising
background image



Page 71 of 92

T EC - I T B a r c o d e So f t w a re R e f e re n c e

7 Image Parameters

7.1 Image Types

Applying the methods

SaveImage

and

ConvertToStream

to the object, the barcode can be

converted to a bitmap or vector format. The following image types with the corresponding
compression options (parameter

nQuality

) are available. Please keep in mind that unreadable

barcodes may be produced when creating a bitmap with low resolution (see section Error!
Reference source not found.
).

7.1.1

Image Formats

Image Format

Enumeration (def. value)

Note

BMP

eIMBmp (0)

EMF

eIMEmf (1)

not supported by

ConvertToStream

methods

EPS (Bitmap)

eIMEps (2)

not supported by

ConvertToStream

methods

GIF

eIMGif

(3)

supported since

TBarCode 7

JPG

eIMJpg

(4)

PCX

eIMPcx (5)

not supported by

ConvertToStream

methods

PNG

eIMPng (6)

TIF

eIMTif

(7)

EPS (Vector)

eIMPsVector (8)

not supported by

ConvertToStream

methods

Table 26: Supported Image Types

7.1.2

Compression Modes

Image format

Compression / nQuality

Remark

BMP

0..1, 0 = uncompressed, 1 = compressed

EMF

No compression is used

EPS

Bitmap EPS: unused

Vector EPS: adjust font substitution.

With vector EPS files you can choose
between using Windows fonts (0) and
using PostScript compatible fonts (1).

JPG

0..100, 0=highest compression, worst quality, 100 =lowest
compression, best quality

Value of 100 suggested, especially
for high data density

PCX

Not used

In

ConvertToStream

and

ConvertTo-

StreamEx

not supported

PNG

PNGALLFILTERS (0)

Use best filter for each row
(highest compression)

To save an image in compressed
mode and additional as interlaced
file, you have to make a bit wise or
operation with the defined constants
(or simple adding the numbers).

Example: to save a file with maximum
compression and interlaced, the
quality parameter is calculated as
follows:

PNGALLFILTERS |
PNGINTERLACE

PNGINTERLACE (1)

Interlace filter

PNGNOFILTER (2)

No filter will be used
(fastest runtime)

PNGSUBFILTER (4)

Difference

filter

with

adjacent pixel

PNGUPFILTER (6)

Difference filter with pixel
from the previous row

PNGAVGFILTER (8)

Average filter

PNGPAETHFILTER (10)

Paeth filter

TIF

0.. No compression

1.. LZW *

2.. PackBits compression

3.. Group 3 1D compression (CCITT Modified Huffman RLE)

4.. Group 4 2D compression (CCITT Group 4 FAX) *

5.. CCITT Group 3 compression (= CCITT Group 4 FAX) *

7.. JPEG *

* is supported with TBarCode 7 and
higher

Advertising