Adobe Photoshop CS5 Object Library JS: PDFResample

Photoshop CS5

 Downsampling options when saving as PDF.

Value

NameDescriptionValue
PDFResample.NONEDoes not downsample. int 0
PDFResample.PDFAVERAGEAverages the pixels in a sample area and replaces the entire area with the average pixel color at the specified resolution. int 1
PDFResample.PDFBICUBICUses a weighted average to determine pixel color, which usually yields better results than the simple averaging method of downsampling. The slowest but most precise method, resulting in the smoothest gradations. int 3
PDFResample.PDFSUBSAMPLEChooses a pixel in the center of the sample area and replaces the entire area with that pixel color; significantly reduces conversion time but results in images that are less smooth and continuous. int 2

Usage

As property

PDFSaveOptions.downSample

Jongware, 28-Aug-2012 v3.0.3iContents :: Index