The ImageEn demo:
\ImageEn\Demos\ImageEditing\AddBorder
... does not have an option to add a border with transparency to an image in one single step, so I created one:
attach/PeterPanino/20256795536_ImageEnAddBorder_Test.zip
78.19 KB
The unit PAImageEn.Utils adds more flexibility in a single-step procedure:
procedure AddBorderToImageEx(AImageEnView: TImageEnView;
const ALeft, ATop, ARight, ABottom: Integer;
AColor: TColor; AAlpha: Byte = 255);
procedure AddBorderToImage(AImageEnView: TImageEnView; AThickness: Integer;
AColor: TColor; AAlpha: Byte = 255; ASides: TBorderSides = bsAll);
Question: Are there built-in ImageEn methods to achieve this in a more simplified way?