Universal Document Converter
Informazioni sul prodotto
Scarica
Acquista
Tutorial
Soluzioni per sviluppatori
Servizio di assistenza
Chi è fCoder SIA


      Cerca nel sito
   


      Conversioni più richieste
Da Adobe PDF a JPEG
Da documento Word a PDF
Da foglio di lavoro Excel a PDF
Da PowerPoint a JPEG
Da disegno Visio a PDF
Da disegno AutoCAD a TIFF
Da pagina Web a JPEG
Convertire di lavoro Excel in PDF
Convertire da DjVu in PDF
Pagine Web in PDF



Pagina principale>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 Chi è fCoder SIA | Mappa del sito