VpeSetJpegExportOptions

<< Click to Display Table of Contents >>

Navigation:  Picture Export >

VpeSetJpegExportOptions

Previous pageReturn to chapter overviewNext page

[Windows platform only, Professional Edition and above]

Specifies options for exported JPEG images.

void VpeSetJpegExportOptions(

VpeHandle hDoc,

long options

)

VpeHandle hDoc

Document Handle

long options

several options

Constant Name

Value

Decimal

Comment

PICEXP_JPEG_DEFAULT

0x0000

0

Default, saves with good quality (75:1)

PICEXP_JPEG_HI_QUALITY

0x0080

128

Saves with superb quality (100:1)

PICEXP_JPEG_GOOD_QUALITY

0x0100

256

Saves with good quality (75:1)

PICEXP_JPEG_MID_QUALITY

0x0200

512

Saves with normal quality (50:1)

PICEXP_JPEG_LO_QUALITY

0x0400

1024

Saves with average quality (25:1)

PICEXP_JPEG_BAD_QUALITY

0x0800

2048

Saves with bad quality (10:1)

Integer X in [0..100]

0x0 – 0x64

0 – 100

Save with quality X:1

PICEXP_JPEG_PROGRESSIVE

0x2000

8192

If set, JPG files are written progressive (interlaced)

Default:

PICEXP_JPEG_DEFAULT

Remarks:

The flag PICEXP_JPEG_PROGRESSIVE can be combined with any of the other flags.

Example:

VpeSetJpegExportOptions(hDoc, PICEXP_JPEG_DEFAULT + PICEXP_JPEG_PROGRESSIVE)