Universal Document Converter
Product Overview
Download
Purchase
Tutorials
Developer Solutions
Support Service
About fCoder SIA


      Site search
   


      Popular conversions
PDF to JPG converter
Convert Word to PDF
Convert PDF to TIFF
Autocad to PDF converter
Convert Word to JPG
Powerpoint to PDF converter
Printing to PDF
Convert Excel to PDF
Convert DJVU to PDF
Convert Web Page to PDF

      Video tutorials
Show tutorial



Main page>Developer Solutions>Interfaces>IUDC>IUDCPrinter>IProfile>IFileFormats>IJPEG

IJPEG


The IJPEG interface is designed to configure output files to be saved in JPEG format.

Properties

Enum ColorSpace

Defines the bit depth of the resulting image measured as the number of bits representing each pixel. It is both readable and writable.
ConstantValueDescription
CS_256GRAYSCALE136Grayscale image (256 hues, 8 bits per pixel)
CS_TRUECOLOR24True color image (24 bits per pixel)

Enum Mode
Defines the type of JPEG used to create output files. It is both readable and writable.
ConstantValueDescription
JPG_PROGRESSIVE1A progressive-scan file which creates the image as a series of interlaced images. This functionality shows lower-resolution representations of an image while it is still loading (useful for the Internet).
JPG_BASELINE0A standard-scan file

Integer Quality
Defines the quality of the output file (as a percentage value). The greater the value in this property, the higher the image quality and the larger the resulting file. Valid range: between 0 and 100. It is both readable and writable.

Examples

Visual Basic 6

Dim objUDC As IUDC Dim itfPrinter As IUDCPrinter Dim itfProfile As IProfile Set objUDC = New UDC.APIWrapper Set itfPrinter = objUDC.Printers("Universal Document Converter") Set itfProfile = itfPrinter.Profile ' Set JPEG as current output file format itfProfile.FileFormat.ActualFormat = FMT_JPEG itfProfile.FileFormat.JPEG.ColorSpace = CS_TRUECOLOR itfProfile.FileFormat.JPEG.Mode = JPG_PROGRESSIVE itfProfile.FileFormat.JPEG.Quality = 75


© fCoder SIA About fCoder SIA | Privacy Policy | Site Map