The A value is not retrieved correctly.
The Pixels property returns a TColor so in principle it doesn't contain the alpha value. Instead you could try the Colors property that returns an TFPColor. The channels are stored as Word values so one need to shift them (shr 8) to get the byte value.