Here's an example regarding the image color quantization I've been talking about. This is an original subtitle bitmap having a palette of 4 or 5 colors:
ELBG Filter (to 8-bit alpha palette)
ELBG with new Alpha-Patch (to 8-bit alpha palette)