The IJPEG interface is designed to configure output files to be saved in JPEG format.
Defines the bit depth of the resulting image measured as the number of bits representing each pixel. It is both readable and writable.
Grayscale image (256 hues, 8 bits per pixel)
True color image (24 bits per pixel)
Defines the type of JPEG used to create output files. It is both readable and writable.
A 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).
A standard-scan file
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.
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