Adobe Photoshop CS5 Object Library JS: PDFResample
From Photoshop CS5
Downsampling options when saving as PDF.
Value
| Name | Description | Value |
|---|---|---|
| PDFResample.NONE | Does not downsample. | int 0 |
| PDFResample.PDFAVERAGE | Averages the pixels in a sample area and replaces the entire area with the average pixel color at the specified resolution. | int 1 |
| PDFResample.PDFBICUBIC | Uses 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.PDFSUBSAMPLE | Chooses 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.3i | Contents :: Index |