關於delphi圖片不能使用jpg的問題(涉及自繪會報錯)

如果使用Delphi的TImage加載jpg圖片或png圖片,如果你修改canvas則會報錯: can only modify an image if it contains a bitmap? 那麼你可以通過一個方式進行變通,然後就沒有問題了,如何弄呢? 看代碼吧:(夠長了點) unit Unit1; interface uses   Windows, Messages, SysUtils, V
相關文章
相關標籤/搜索