Vcl.Markdown.Skia.TWICImageHelper.LoadFromFile
Prototype
procedure LoadFromFile(const aFileName: string; aSize :TSize; aColor :TAlphaColor = TAlphaColors.Null);
Description
loads an image from a file.
aSize contains the optimal size of the image to be rendered, for example if included in an html <img> tag. aSize can be null, in which case the size defined in the image, multiplied by the display scale is used.
aColor allows you to adapt the color of a monochrome image according to certain criteria, for example a light or dark mode. Set the color to null to leave the image unchanged.
See also
TMDCustomControl.OnUnknownImage