松鼠的博客

导航

C++ Builder 中使用JPG图片

使用 C++ Builder 6.0 提供的 TPicture控件来操作JPG格式的图片

使用方法:

(1)引入jpeg头文件 #include <Jpeg.hpp>

    TPicture* picBtn;
    picBtn 
= new TPicture; 
    picBtn
->LoadFromFile("play1.jpg");

posted on 2008-10-30 10:28  Xproer-松鼠  阅读(1435)  评论(0)    收藏  举报