Compression_Default | Use the default for the output image type.
|
Compression_NONE | Use no image compression. Valid for BMP, PNG and TIFF outputs only.
|
Compression_FLATE | Deflate algorithm (PNG only). An open source standard widely used for creating zip files and with PDF.
|
Compression_LZW | Lempel-Ziv-Welch, valid for TIFF output. A lossless algorithm, resulting files are larger but retain original quality.
|
Compression_G3 | CCITT Group3 compression. Valid for TIFF, requires colorModel gray. A lossless algorithm for black and white images that efficiently compresses whitespace.
|
Compression_G4 | CCITT Group4 compression. Valid for TIFF, requires colorModel gray. A lossless algorithm for black and white images based on G3.
|
Compression_DCT | Discrete Cosine Transform. Lossy algorithm, valid for JPEG. Best when used with continuous tone (such as photographs).
|
Order_BigEndian = 0 | |
Order_LittleEndian = 1 | |
HostEndian = 2 |
| |
Default: false. Convert 8bpc grayscale images to 1bpc (B/W) images using a 45 degree line screen set for 106lpi at 600dpi.
| |
Default: 75. Quality of the image(0-100). Note this is only valid for JPEG Images.
| |
Default: 72. This value sets the image's Horizontal DPI (Dots Per Inch), which will be used during the exporting process.
| |
Default: 72. This value sets the image's Vertical DPI (Dots Per Inch), which will be used during the exporting process.
| |
Default: Default. Type of compression to be used in saving the image to a file. Note this is only valid for TIF Images.
| |
Default: 128. Threshold to use for determining which bits are white or black for Monochrome output(0-255). This is only valid for TIF Images using G3 or G4 compression and HalftoneGrayImages must be set to false.
| |
Default: false. When set to false, if the image data is in RGB and there is a Mask present, they will be combined as RGBA + Alpha Channel output (32-bit). When set to true, if the image date is in RGB and there is a Mask present, they will not be combined and the output will be RGB (24-bit). This is only valid for an output image of type TIF and PNG.
| |
Default: BigEndian. The byte order used within the TIFF file.
| |
|
PDEImage
DLColorConvertPDEImage(
PDDoc
*
document
,
PDEImage
image
,
AC_ProfileCode
code
,
AC_RenderIntent
intent
,
ASBool
embed
);
document | |
image | The PDEImage in a PDF document that will be converted.
|
code | The code of the target profile for the conversion.
|
intent | The rendering intent of used to convert the image.
|
embed |
PDEImage
DLCreatePDEImageFromFile(
ASPathName
imageInputPath
,
ASFileSys
fileSys
);
imageInputPath | The input path of the image.
|
fileSys | The File System in use.
|
PDEImage
DLCreateResampledPDEImage(
PDEImage
image
,
DLPDEImageExportParams
*
exportParams
,
ASInt32
resolution
);
image | The PDEImage in a PDF document.
|
exportParams | A pointer to the DLPDEImageExportParams structure used by the PDEImage. During the function call, ExportHorizontalDPI and ExportVeritcalDPI are updated to using the new resolution.
|
resolution | The new resolution as a 32 bit integer value.
|
void
DLExportPDEImage(
PDEImage
image
,
ASPathName
outputPath
,
DLImageExportType
exporttype
,
DLPDEImageExportParams
exportParams
);
image | The PDEImage in a PDF document.
|
outputPath | The output path of the image.
|
exporttype | The exported image format (TIFF, JPEG, BMP, PNG, GIF).
|
exportParams | The DLPDEImageExportParams structure.
|
DLImageCompression
DLPDEImageGetCompression(
const
PDEImage
image
);
image | The PDEImage in a PDF document.
|
DLPDEImageExportParams
DLPDEImageGetExportParams(
);
ASDouble
DLPDEImageGetHeight(
const
PDEImage
image
);
image | The PDEImage in a PDF document.
|
const
char
*
DLPDEImageGetIntent(
const
PDEImage
inputImage
);
image | The PDEImage in a PDF document.
|
PDEImage
*
DLPDEImageGetSoftMask(
const
PDEImage
image
);
image | The PDEImage in a PDF document.
|
ASDouble
DLPDEImageGetWidth(
const
PDEImage
image
);
image | The PDEImage in a PDF document.
|
void
DLPDEImageRotate(
PDEImage
image
,
ASDouble
theta
);
image | The PDEImage in a PDF document.
|
theta | The rotation angle (degrees).
|
void
DLPDEImageScale(
PDEImage
image
,
ASDouble
sx
,
ASDouble
sy
);
image | The PDEImage in a PDF document.
|
sx | X scaling factor.
|
sy | Y scaling factor.
|
void
DLPDEImageSetIntent(
PDEImage
inputImage
,
const
char
*
renderIntent
);
image | The PDEImage in a PDF document.
|
renderIntent | A pointer to the string representation of an ASAtom value that will be used to set the image's intent data.
|
void
DLPDEImageSetSoftMask(
PDEImage
image
,
PDEImage
*
softMask
);
image | The PDEImage in a PDF document.
|
softMask | The pointer to the PDEImage's soft mask, that will be applied to the PDEImage, or a null pointer which will delete the current soft mask.
|
void
DLPDEImageTranslate(
PDEImage
image
,
ASDouble
tx
,
ASDouble
ty
);
image | The PDEImage in a PDF document.
|
tx | X translation distance.
|
ty | Y translation distance.
|
Gets an image's Color Value.
This call is valid only for a PDEImage which is an Image Mask
void
PDEImageGetColorValue(
IN
PDEImage
image
,
IN
PDEColorValueP
color
);
image | IN/OUT The image whose data is obtained.
|
colorValue | IN/OUT The image data.
|
PDEImage
PDEImageJPXGetSMask(
PDEImageJPX
pdeImageJPX
);
pdeImageJPX | IN The JP2K encoded image object. NOTE: The returned PDEImage must be released using PDERelease() when done using it.
|
Note: The image returned must be released when no longer needed.
PDEImage
PDEImageRemoveIndexedColor(
PDEImage
image
);
image | The Indexed image
inP . |