OfficeRasterResizePlan
OfficeIMO.Drawing
Immutable pixel geometry and peak managed-storage plan for one raster resize.
Inheritance
- object
- OfficeRasterResizePlan
Remarks
Contain dimensions round to the nearest pixel with midpoint ties away from zero and remain within supplied bounds. Cover dimensions round upward; its centered crop puts an odd extra pixel on the right or bottom. The plan includes the independent-copy path, sampling scratch and tables, and any resized intermediate and crop output.
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Accepted by parameters 1
- Method OfficeRasterResampler.Resize
Inherited Methods
Properties
public int ResizeWidth { get; } #Width of the sampled intermediate before an optional crop.
public int ResizeHeight { get; } #Height of the sampled intermediate before an optional crop.
public int CropX { get; } #Left pixel of the final crop in the sampled intermediate.
public int CropY { get; } #Top pixel of the final crop in the sampled intermediate.
public OfficeRasterResamplingMode ResamplingMode { get; } #Captured sampling kernel.
public OfficeRasterResamplingColorSpace ColorSpace { get; } #Captured filtering color space.
public long WorkingSetBytes { get; } #Peak source, output, temporary, table and fixed-overhead storage in bytes.
public long AdditionalWorkingBytes { get; } #Peak storage beyond source and final-output RGBA buffers; frame operations retain this allowance alongside all frames.