Well, instead of GetTickCount you can use epiktimer or other solutions for time measuring. About TPicture (Graphics unit)... well, it is indeed part of LCL. Don't know why, probably it is using OS widgetset Api somewhere. Why you need TPicture? Maybe you don't need such big class like TPicture, this is wrapper for FPC graphic units, see uses clause again, you find there FPWritePNG, PNGComn, FPReadPNM, FPWritePNM, FPReadJpeg, FPWriteJpeg, FPReadTiff, FPTiffCmn, FPReadGif units. They are from FCL, not LCL, you can check how TPicture is using these units and do this same without TPicture class. I don't know your needs