Universal Document Converter
Información general
Descargas
Comprar
Tutoriales
Desarrolladores
Soporte técnico
Acerca de fCoder SIA


      Búsqueda en el sitio
   


      Conversiones populares
Adobe PDF a JPEG
Word Document a PDF
Hojas de cálculo Excel a PDF
PowerPoint a JPEG
Diseño Visio a PDF
Diseño AutoCAD a TIFF
Página web a JPEG
Convertir de cálculo Excel a PDF
Convertir DjVu a PDF
Convertir una página web a PDF

      Tutorial de vídeo
Ver el tutorial



Página principal>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 Acerca de fCoder SIA | Mapa del sitio