ImageEn, unit iexBitmaps

TIOParams.ImageInfoStr

TIOParams.ImageInfoStr

Declaration

property ImageInfoStr: String; (Read-only)

Description

Returns a textual description of the image width, height and color depth (using SamplesPerPixel * BitsPerSample)
An example output would be: 1920 x 1080 pixels, 16M colors.
Result will be '' if the image is invalid.

Example

if OpenImageEnDialog1.Execute then
begin
  ImageEnView1.IO.LoadFromFile(OpenImageEnDialog1.FileName);
  ShowMessage( ImageEnView1.IO.Params.ImageInfoStr );
end;