Error: Incompatible types: got "Set Of TFontStyle" expected "TFontStyles"
When using BGRABitmap with no gui, LCL dependency is avoided. To get the types actually used in BGRABitmap, you can use the units BGRAGraphics (and BGRAClasses in some cases as well) instead of Graphics and Classes.