DynaPDF Manual - Page 177

Previous Page 176   Index   Next Page 178

Function Reference
Page 177 of 883
The function is able to create up to 4 GB large TIFF image files. Depending on the used compression
filter and compression ratio this is mostly enough to create TIFF images with up to 8000 RGB pages
in a resolution of 300 DPI. However, the maximum number of pages depends on the resolution,
compression ratio and pixel format.
If the output format is BigTIFF the image size is more or less restricted by available memory and
disk space only. However, this format is not supported by most image viewers.
The JPEG Quality and compression level can be adjusted with SetJPEGQuality() and
SetCompressionLevel() before calling the function.
Embedding ICC Profiles
The function embeds by default the device profile in the image file if color management is enabled
and if the image format supports embedded ICC profiles. At time of publication JPEG 2000, PNG,
and the TIFF encoder support embedded ICC profiles.
However, the JPEG 2000 encoder has only limited support for embedded ICC profiles. A profile is
embedded only if loss-less encoding is used. Loss-less encoding is used if the JPEG quality is set to 0
or 100 or -1000.
It is also possible to disable embedding of ICC profiles with the flag cfIgnoreICCProfile.
Return values:
When the function succeeds the return value is 1. When the function fails the return value is 0.
AddRenderingIntent (obsolete)
Syntax:
SI32 pdfAddRenderingIntent(
const PPDF* IPDF,
// Instance pointer
const char* ICCFile) // File path of the ICC profile
This function was incorrectly named. The correct name is AddOutputIntent(). Please use the
correctly named version instead.
AddRenderingIntentEx (obsolete)
Syntax:
SI32 pdfAddRenderingIntentEx(
const PPDF* IPDF,
// Instance pointer
const void* Buffer, // File buffer of an ICC profile
UI32 BufSize)
// Buffer size in bytes
This function was incorrectly named. The correct name is AddOutputIntentEx(). Please use the
correctly named version instead.
 

Previous topic: 1 bit image output, Compression filters

Next topic: AddValToChoiceField