**procedure** Skew(dx, dy: double);

dx represents the horizontal skew where dx is expressed as a fraction of the image's height. Likewise, dy represents the vertical skew where dy is expressed as a fraction of the image's width. (Negative values will reverse the direction of skew).

dx and dy are each limited to the range -2.0 ... 2.0.

uses Img32, Img32.Fmt.PNG; ... img := TImage32.Create; img.LoadFromFile('beetle.png'); img.Skew(0.5, 0); img.SaveToFile('beetle_skewed.png'); img.Free;

Before: |
After: |

Copyright ©2010-2022 Angus Johnson - Image32 4.2 - Help file built on 18 Aug 2022