LEADTOOLS Raster Imaging C++ Class Library Help > LEADTOOLS Raster Imaging Features > File Formats > File Formats List > Color and Grayscale > File Formats: PostScript Document (PS) |
PostScript (PostScript). PostScript is a simple interpretive page description language, also known as PDL, that is used to describe the appearance of text, graphical shapes and sampled images on printed or displayed pages. The page description and graphical capabilities of this language include arbitrary shapes, painting operators, fully integrated text and graphics, and sampled images derived from natural sources. Most advanced laser printers use PostScript in order to render electronic information on a printed page.
This filter can load files that are stored in memory (memory files). In addition, it supports an option that disables the cropping of files, by setting the PDF_DISABLE_CROPPING flag in the FILEPDFOPTIONS structure, and an option that disables the use of CIE colors, by setting the PDF_DISABLE_CIECOLORS flag in the FILEPDFOPTIONS structure. Disabling the use of CIE colors will result in faster loading of PS files.
Support for this format is available in the Barcode PDF modules and the PDF Plug in.
To determine whether this file format is unlocked, call L_SUPPORT_PDF_SAVE and L_SUPPORT_PDF_READ.
For a PostScript image, you can read the following bits per pixel, using various DPI options: 1, 2, 4, 8, 24.
For a PS file, you can read the following bits per pixel, using various DPI options: 1, 2, 4, 8, 24.
The file constants associated with this file format are:
Constant |
Read Support |
Write Support |
Description |
FILE_POSTSCRIPT |
1, 2, 4, 8, 24 BPP |
None |
[222] PostScript Document. |
Required DLLs: LTPDF. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Postscript files that are included in PJL files can also be loaded. This requires the PCL filter.
You can write only an 8-bit PostScript raster image, using the LEAD EPS filter.
Related Formats: PCL - Printer Command Language Format, PDF - Portable Document Format, PLT - PLT / HPGL Format, RTF - Rich Text Format.
Win32, x64.