Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeRasterResizePlan

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
1f76172c94d1 with working tree changes
Modifiers
sealed

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

Properties

public int SourceWidth { get; } #

Required source width.

public int SourceHeight { get; } #

Required source height.

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 Width { get; } #

Final output width.

public int Height { get; } #

Final output height.

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 OfficeImageFit Fit { get; } #

Captured fit behavior.

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.