public FreeImageAlgorithmsBitmap AffineTransform(int image_dst_width, int image_dst_height, FreeImageAlgorithmsMatrix matrix, RGBQUAD colour, int retainBackground) { FIBITMAP tmp_dib = FreeImage.AffineTransform(this.Dib, image_dst_width, image_dst_height, matrix.Data, colour, retainBackground); return(new FreeImageAlgorithmsBitmap(tmp_dib)); }
public void AffineTransform(FreeImageAlgorithmsMatrix matrix, RGBQUAD colour) { FIBITMAP tmp_dib = FreeImage.AffineTransform(this.Dib, (int)this.Width, (int)this.Height, matrix.Data, colour, 1); this.ReplaceDib(tmp_dib); }