PeachImage

PeachImage.AnimatedImage

AnimatedImage.Resize(int, int, ResizeOptions) Method

Creates a resized copy of this animation: every frame resized to the given dimensions using the same resampling filter, same loop count and per-frame timing/disposal. Lazy, like Frames itself — each frame is resized on demand as it’s pulled, not all at once. When options’s Mode is Max and this animation’s canvas already fits within width x height, returns this same instance unchanged rather than resizing every frame for no reason.

public PeachImage.AnimatedImage Resize(int width, int height, PeachImage.ResizeOptions? options=null);

Parameters

width System.Int32

height System.Int32

options ResizeOptions

Returns

AnimatedImage