Einzelnen Beitrag anzeigen

Benutzerbild von Bernhard Geyer
Bernhard Geyer

Registriert seit: 13. Aug 2002
17.171 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: PNG im IE(7) nicht darstellbar

  Alt 13. Mär 2009, 15:17
Gelöst. Fehler im Quellcode der Methode .RemoveTransparency

Fix:
Delphi-Quellcode:
...
    case ColorType of
      {Palette uses the TLMDPNGChunktRNS to store alpha}
      COLOR_PALETTE, COLOR_RGB, COLOR_GRAYSCALE:
      begin
       TRNS := Chunks.ItemFromClass(TLMDPNGChunkTRNS) as TLMDPNGChunkTRNS;
       if TRNS <> nil then Chunks.RemoveChunk(TRNS)
      end;
...
Windows Vista - Eine neue Erfahrung in Fehlern.
  Mit Zitat antworten Zitat