PeachImage

PeachImage.ResizeOptions

ResizeOptions.AlwaysCopy Property

When true, Resize(int, int, ResizeOptions) always returns a new, independently owned image, even when the source already fits (Max) or already has the requested size (Crop and Pad) and the result would otherwise be the source itself. Disposing the result and the source can then never interfere. Defaults to false.

public bool AlwaysCopy { get; init; }

Property Value

System.Boolean