If you have problems processing PNG images because you are using DevExpress components, add this to the beginning of your program’s uses list: dxGDIPlusClasses,
Vcl.Imaging.PNGImage,DevExpress registers PNG handler with doesn’t behave exactly the same as Delphi’s built-in TGraphics descendants. ...
More...