2010-08-05 2 views

ответ

4
if (APicture.Graphic is TBitmap) then 
result := true 
else 
result := false; 

// заменить TBitmap сделать другой формат //

6
if Picture.Graphic is TJPegImage then 
    ShowMessage('JPEG') 
    else if Picture.Graphic is TBitmap then 
    ShowMessage('Bitmap'); 
//etc