// Return percentage of pixels that are partially or fully transparent d := ImageEnView1.Proc.CalcImageTransparency(); ShowMessage( format( 'Image has %d%% transparent pixels', [ Round( d )]));
// Return percentage of pixels that are fully transparent d := ImageEnView1.Proc.CalcImageTransparency( 0 ); ShowMessage( format( 'Image has %d%% fully transparent pixels', [ Round( d )]));
// Load test image ImageEnView1.IO.LoadFromFile( 'D:\TestImage.jpg' );
// Return the percentage of pixels that are partially or fully transparent d := ImageEnView1.Proc.CalcImageTransparency();