SoftEx GraphicEx ported to https://github.com/mike-lischke/GraphicEx
An explanation of the move can be found at http://www.soft-gems.net/index.php/libs/43-graphicex-on-github
I added GraphicEx to my Delphi 6 project, and it worked out of the box, but when I tested it with Delphi 5, it did not.
Despite this, it works well and implements not only PNG images, but also many others that are configured from GraphicConfiguration.inc:
// Pick your preferred image formats here or leave them all enabled. By disabling // certain formats which are not of interest you can save some memory. {$define UseLZW} //patent is out, yay! {$define SGIGraphic} // *.bw, *.rgb, *.rgba, *.sgi images are supported {$define AutodeskGraphic} // *.cel, *.pic images {-$define NewTIFFGraphic} // *.tif, *.tiff images {$define OldTIFFGraphic} {$define TargaGraphic} // *.tga, *.vst, *.icb, *.vda, *.win images {$define PCXGraphic} // *.pcx, *.pcc, *.scr images {$define PCDGraphic} // *.pcd images {$define PortableMapGraphic} // *.ppm, *.pgm, *.pbm images {$define CUTGraphic} // *.cut (+ *.pal) images {$define GIFGraphic} // *.gif images {$define RLAGraphic} // *.rla, *.rpf images {$define PhotoshopGraphic} // *.psd, *.pdd images {$define PaintshopProGraphic} // *.psp images {$define PortableNetworkGraphic} // *.png images {$define EPSGraphic} // *.eps images {$define ArtsAndLettersGraphic} // *.ged images
source share