I did what you said and i get an error wich says
---------------------------
Debugger
Exception Notification
---------------------------
Project Project2.exe raised
exception class EInvalidOperation with message 'Can only modify an image if it contains a bitmap'.
---------------------------
Break Continue Help
---------------------------