ImageGear PDF v25.1 - Updated
PS
User Guide > File Formats and Compressions > File Formats > File Formats Reference > PS

Full Name Adobe PS (Adobe PostScript)
Format ID ImGearFormats.PS
File Extension(s) *.ps, *.eps
Data Type Vector Image
Data Encoding Binary
Multi-Page Support Yes
Alpha Channel Support No
Metadata Update Support Document
ImageGear Platforms Support WIN32, WIN64, Unix, .NET, .NET64, MAC

PS format requires ImageGear.Formats.PDF. See Assembly Initialization for more information.

ImageGear Supported Versions

ImageGear Supported Features

ImageGear Read Support

ImageGear Write Support

ImageGear Filter Control Parameters

Filter Control Parameter Type Default Value Available Values Description
AutoPosition Bool true true, false This parameter enables/disables AutoPositionEPSFiles option for reading PS/EPS file format.
Depth Int32 24 1, 8, 24 This parameter specifies bit depth in bits-per-pixel during the PostScript document conversion into the raster image. The greater this value, the higher the quality of the raster image you get and the more memory is required for rasterization. The DIB of the output raster image has this value as a bit count.
Height Int32 0 Any non-negative value. This parameter sets the height of the page (in 1/72 inches). This parameter is used on loading a PostScript page. When this parameter is set to 0, the height is read from PostScript bounding box. If bounding box is not defined in PostScript, the height is set to 792.
IndependentPagesize Bool false true, false If this parameter is false, when saving raster image into the PDF document, the width and height of the newly created page is set to the width and height of the previous page from the PDF document. If the previous page does not exist, the width and height are calculated from the image resolution and size as follows:

Width = <width of the raster image> * 72 / <X DPI of the raster image>

Height = < height of the raster image> * 72 / <Y DPI of the raster image>

If the image resolution is not defined, the width and height are set to the width and height of the Letter page, which is 612x792. If this parameter is true the following parameters are used to set the page size:

PageHeight

PageWidth

JobOptionsFile String "" Any This parameter specifies a path to Adobe job options file name.
Level ImGearPSLevel Enumeration ImGearPSLevel Enumeration.LEVEL_3 Any ImGearPSLevel Enumeration value This parameter specifies a language level of the output PostScript 3.0 document when saving to PostScript.
PageHeight Int32 0 Any non-negative value This parameter sets the height of the page (in 1/72 inches). If this option is 0, the height is calculated from the image resolution and size as follows:

Height = < height of the raster image> * 72 / <Y DPI of the raster image>

If the image resolution is not defined, the height is set to the height of the Letter page, which is 792. This parameter is not used if IndependentPagesize is false.

This parameter is also used when saving a raster image to PDF and IndependentPagesize is set to true.

PageWidth Int32 0 Any non-negative value This parameter sets the width of the page (in 1/72 inches). If this option is 0, the width is calculated from the image resolution and size as follows:

Width = <width of the raster image> * 72 / <X DPI of the raster image>

If the image resolution is not defined, the width is set to the width of the Letter page, which is 612. This parameter is not used if IndependentPagesize is false.

This parameter is also used when saving a raster image to PDF and IndependentPagesize is set to true.

ResolutionX Int32 72 Any This parameter specifies the horizontal resolution in dots-per-nch during the PostScript document conversion into the raster image. The greater this value, the higher the quality of the raster image you get after rasterization. The DIB of the output raster image has this value as an X resolution.
ResolutionY Int32 72 Any This parameter specifies the vertical resolution in dots-per-inch during the PostScript document conversion into the raster image. The greater this value, the higher the quality of the raster image you get after rasterization. The DIB of the output raster image has this value as an Y resolution.
SmoothFlags ImGearPDFSmoothFlags Enumeration ImGearPDFSmoothFlags Enumeration.NONE A bit composition of an OR of ImGearPDFSmoothFlags Enumeration values This parameter specifies smooth settings for PostScript rasterization.
TextEncoding ImGearPDFTextEncoding Enumeration ImGearPDFTextEncoding Enumeration.ASCII_85 Any ImGearPDFTextEncoding Enumeration value This parameter specifies which encoding scheme should be used to convert binary image data to the text format when saving raster image into the PostScript document.
Type ImGearPSType Enumeration ImGearPSType Enumeration.POSTSCRIPT Any ImGearPSType Enumeration value This parameter specifies a type of the output PostScript document when saving to PostScript.
Width Int32 0 Any non-negative value This parameter sets the width of the page (in 1/72 inches). This parameter is used on loading a PostScript page. When this parameter is set to 0, the width is read from PostScript bounding box. If bounding box is not defined in PostScript, the width is set to 612.

Comments

Please see the ImageGear.Formats.PDF Namespace and How to Work with PDF.