Thema: Delphi TPNGImage

Einzelnen Beitrag anzeigen

Benutzerbild von seim
seim

Registriert seit: 11. Nov 2007
83 Beiträge
 
#9

Re: TPNGImage

  Alt 11. Jun 2009, 13:01
Zitat von Bernhard Geyer:
Du musst eines von beiden soweit modifizieren das es sich nicht als Betrachter für PNG's in der IDE registriert. Oder die Registrierung soweit anpassen das du sofort erkennen kannst welches PNG mit welche Bibliothek verknüpft ist.
Ok das ging recht einfach..

die graphicex Lib hat eine Datei namens "GraphicConfiguration.inc"

Delphi-Quellcode:
// 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 SGIGraphic}             // *.bw, *.rgb, *.rgba, *.sgi images are supported
{$define AutodeskGraphic}        // *.cel, *.pic images
{$define TIFFGraphic}            // *.tif, *.tiff images
{$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
Und da muss einfach das define für png's unbrauchbar gemacht werden
  Mit Zitat antworten Zitat