我用过一个GraphicEx。不知和您那一个是不是一样。它是不可视类,安装后,在unit-uses部分加入GraphicEx,即可
如uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, GraphicEx;

解决方案 »

  1.   

    如何安装 没有安装的选项
    GraphicEx needs basically no installation because it just registers its graphic classes with TPicture on unit initialization time and from this point on TPicture is able to load images of all supported types. So all you must do to "install" GraphicEx (make its features available at runtime) is to put it in any uses clause of any source file of your project. In order to use GraphicEx images classes at design time too you should add GraphicEx and its associated files into a package of your choice. Any package will do it as long as it is also loaded at design time. Once you have included the library you can load all those exciting image formats at design time too. Note: You will not get an icon or something like this in the component palette. GraphicEx does not implement any component.但是jpg.dcu 没有提供pas,所以总不能引用 很奇怪