A CiPdf object is associated with a CiImage object. It allows to set/get parameters controlling functionality CiImage.Open, CiImage.SaveAs and CiImage.Append methods while working with PDF files.
CiImage.SaveAs method writes metadata to PDF from Author, Creator, Keywords, Subject, Title, ModDate properties.
CiImage.Open method obtains Author, Creator, Keywords, Subject, Title, CreationDate, Producer properties from PDF file metadata.
A PDF file encapsulates the various type of data: images, text, graphics, annotation, etc. Many applications generate PDF pages containing textual and graphics data. Such pages are rasterized to obtain page image. Scanners and imaging system store multi-page images in a PDF file, as a substitute for multi-page TIFF format. Such images can be extracted directly from PDF file.
To obtain an image of "non-image" content PDF pages, like text, graphic, annotation (including annotation-based barcodes) PDF page has to be rasterized. Rasterization is similar to taking a snapshot of a page as displayed by the PDF viewer.
CiImage.Open method uses the value of the readMode property to treat PDF file as a collection of image, a collection of rasterized pages or the mix of those.
See PDF files guidelines on Inlite's How-to Web Site
Name | Description | |
---|---|---|
Author | Author PDF document property | |
CreationDate | CreationDate PDF document property | |
Creator | Creator PDF document property | |
dpiRasterBw | Resolution of rasterized bi-tonal image | |
dpiRasterGs | Resolution of rasterized grayscale image | |
dpiRasterRgb | Resolution of rasterized color image | |
Keywords | Keywords PDF document property | |
minImageHeight | Minimum height of embedded images | |
minImageWidth | Minimum width of embedded images | |
ModDate | Modified date PDF document property | |
Producer | Producer PDF document property | |
rasterColorMode | Specifies rasterization mode as bi-tonal, grayscale or color | |
readMode | Specifies page opening by extracting embedded images or page rasterization | |
Subject | Subject PDF document property | |
Title | Title PDF document property | |
useMinImageColors | Minimize bits-per-pixel of extracted embedded images |