Download Now

    Reference ResampleBitmap

    Declared in Codebot.Graphics.pas on lines 526, 530

    Resamples rectangle in source image to rectangle in destination image with resampling. You can use custom sampling function and filter radius.
    Set WrapEdges to True for seamlessly tileable images
    procedure ResampleBitmap(Src: IBitmap; SrcX, SrcY, SrcWidth, SrcHeight: LongInt; Dst: IBitmap; DstX, DstY, DstWidth, DstHeight: LongInt; Filter: TFilterFunction; Radius: Single; WrapEdges: Boolean); overload;
    Return a copy of a bitmap resampled to a new size using a built in filter
    function ResampleBitmap(Bitmap: IBitmap; Width, Height: Integer; Filter: TSamplingFilter = DefaultCubicFilter; WrapEdges: Boolean = False): IBitmap; overload;

    See also

    IBitmap in Codebot.Graphics.Types.pas