Hello,

I have got PowerDraw 1.4 can be used with DelphiX (PowerTool pack).

And I have some troubles - no demo can be run. I found problem in unit AGFunit.pas bad decompression function here

Code:
DeCompressBuf(@InBuf, InSize, 0, OutBuf, OutSize);
in routine

Code:
function TAGFImage.LoadFromFile(FileName: String): Integer;
I tried a lot of versions of ZLib, but problem was occurred still.

I have of doubt that is not problem in Bmp2AGF.exe utility (is it without source code). I can't run any demo with my converted image.

Please, is source code of this utility? Or is bad generated code in *.AGF file. Or is problem in AGFunit.pas? Please help me with.

Very thanks
Regards