C++ Builder 中使用JPG图片
使用 C++ Builder 6.0 提供的 TPicture控件来操作JPG格式的图片
使用方法:
(1)引入jpeg头文件 #include <Jpeg.hpp>
TPicture* picBtn;
picBtn = new TPicture;
picBtn->LoadFromFile("play1.jpg");使用 C++ Builder 6.0 提供的 TPicture控件来操作JPG格式的图片
使用方法:
(1)引入jpeg头文件 #include <Jpeg.hpp>
TPicture* picBtn;
picBtn = new TPicture;
picBtn->LoadFromFile("play1.jpg");