Method | Description | |
---|---|---|
Resample ( Document doc, int desiredPpi, int jpegQuality ) : int |
Resamples all images in the document that are greater than the specified PPI (pixels per inch) to the specified PPI And converts them to JPEG with the specified quality setting.
|
Method | Description | |
---|---|---|
GetEncoderInfo ( |
Gets the codec info for the specified image format. Throws if cannot find.
|
|
ResampleCore ( ImageData imageData, |
Resamples one VML or DrawingML image
|
public static Resample ( Document doc, int desiredPpi, int jpegQuality ) : int | ||
doc | Document | The document to process. |
desiredPpi | int | Desired pixels per inch. 220 high quality. 150 screen quality. 96 email quality. |
jpegQuality | int | 0 - 100% JPEG quality. |
return | int |