uses
System,
SysUtils,
GraphType,
LazUTF8,
LCLIntf,
FPimage,
Graphics,
zstream,
Controls,
Classes,
math;